class AnnotationTarget (View source)

Annotation targets represents possible targets at which an annotation could be declared.

Constants

TARGET_CLASS

TARGET_METHOD

TARGET_PROPERTY

TARGET_ANNOTATION

TARGET_ALL

LABELS

Methods

__construct(int $target)

No description

static 
class()

No description

static 
method()

No description

static 
property()

No description

static 
annotation()

No description

static 
all()

No description

static 
fromAnnotation(Target $annotation)

No description

unwrap()

No description

targetsClass()

No description

targetsMethod()

No description

targetsProperty()

No description

targetsAnnotation()

No description

describe()

No description

Details

__construct(int $target)

Parameters

int $target

Exceptions

InvalidAnnotationTarget

static class()

static method()

static property()

static annotation()

static all()

static fromAnnotation(Target $annotation)

Parameters

Target $annotation

unwrap()

targetsClass()

targetsMethod()

targetsProperty()

targetsAnnotation()

describe()