CoreFiles by mySites.guru
Attribute.php22 lines, 521 bytes, from Joomla_4.2.2-Stable-Full_Package.zip
Raw History Compare with 4.2.1
md5
58affafef30c1e66b40cc59ebe413348
sha1
2589f8ec06784a485dcaebe50392d2d96d4df711
sha256
960418db7b6302b388211af362074d5b2bedccc447fdd9dc1bd48ddb3f8a5a39
<?php

#[Attribute(Attribute::TARGET_CLASS)]
final class Attribute
{
    public const TARGET_CLASS = 1;
    public const TARGET_FUNCTION = 2;
    public const TARGET_METHOD = 4;
    public const TARGET_PROPERTY = 8;
    public const TARGET_CLASS_CONSTANT = 16;
    public const TARGET_PARAMETER = 32;
    public const TARGET_ALL = 63;
    public const IS_REPEATABLE = 64;

    /** @var int */
    public $flags;

    public function __construct(int $flags = self::TARGET_ALL)
    {
        $this->flags = $flags;
    }
}

The same content is in 69 releases, Joomla 4.0.0-rc1 to 4.3.0-alpha2. See them all, or every version of this file.