Class Annotations (namespace Nette)
Annotations support for PHP.
Public Method Summary | |
---|---|
static array |
get
($r, string $name)
Returns an annotation value.
|
static array |
getAll
($r, [string $name =
NULL ])
Returns all annotations.
|
static bool |
has
($r, string $name)
Has class/method/property specified annotation?
|
Variable Summary | ||||
---|---|---|---|---|
static bool | $useReflection |
|
line 25 |
Method Details | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
line 50 getpublic static array get ($r, string $name) Returns an annotation value.
|
|||||||||||||||
line 65 getAllpublic static array getAll ($r, [string $name = Returns all annotations.
|
|||||||||||||||
line 35 haspublic static bool has ($r, string $name) Has class/method/property specified annotation?
|