Class Annotations (namespace Nette)
Annotations support for PHP.
Public Method Summary | |
---|---|
Annotations |
__construct
()
Static class - cannot be instantiated.
|
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?
|
static & array |
init
($r)
Parses and caches annotations.
|
Method Details | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
line 40 __constructpublic Annotations __construct () Static class - cannot be instantiated.
|
|||||||||||||||
line 67 getpublic static array get ($r, string $name) Returns an annotation value.
|
|||||||||||||||
line 81 getAllpublic static array getAll ($r, [string $name = Returns all annotations.
|
|||||||||||||||
line 53 haspublic static bool has ($r, string $name) Has class/method/property specified annotation?
|
|||||||||||||||
line 103 initpublic static array & init ($r) Parses and caches annotations.
|