Documentation

Attribute
in package

FinalYes
Attributes
#[Attribute]
\Attribute::TARGET_CLASS

Table of Contents

Constants

IS_REPEATABLE  : mixed = 64
TARGET_ALL  : mixed = 63
TARGET_CLASS  : mixed = 1
TARGET_CLASS_CONSTANT  : mixed = 16
TARGET_FUNCTION  : mixed = 2
TARGET_METHOD  : mixed = 4
TARGET_PARAMETER  : mixed = 32
TARGET_PROPERTY  : mixed = 8

Properties

$flags  : int

Methods

__construct()  : mixed

Constants

IS_REPEATABLE

public mixed IS_REPEATABLE = 64

TARGET_CLASS_CONSTANT

public mixed TARGET_CLASS_CONSTANT = 16

TARGET_FUNCTION

public mixed TARGET_FUNCTION = 2

TARGET_METHOD

public mixed TARGET_METHOD = 4

TARGET_PARAMETER

public mixed TARGET_PARAMETER = 32

TARGET_PROPERTY

public mixed TARGET_PROPERTY = 8

Properties

Methods

__construct()

public __construct([int $flags = self::TARGET_ALL ]) : mixed
Parameters
$flags : int = self::TARGET_ALL
On this page

Search results