Ubiquity 2.5.2
php rapid development framework
|
Public Member Functions | |
start (string $cacheDirectory) | |
Start the annotations engine for dev mode. | |
registerAnnotations (array $nameClasses) | |
getAnnotsOfClass (string $class, ?string $annotationType=null) | |
getAnnotationByKey (?string $key=null) | |
getAnnotsOfProperty (string $class, string $property, ?string $annotationType=null) | |
getAnnotsOfMethod (string $class, string $method, ?string $annotationType=null) | |
getAnnotation (?object $container, string $key, array $parameters=[]) | |
getAnnotationsStr (array $annotations, string $prefix="\t") | |
is (string $key, object $annotation) | |
getUses () | |
registerAcls () | |
Static Public Member Functions | |
static | isManyToOne (object $annotation) |
static | isMany (object $annotation) |
static | isOneToMany (object $annotation) |
static | isManyToMany (object $annotation) |
Protected Member Functions | |
register (AnnotationManager $annotationManager) | |
Static Protected Attributes | |
static | $registry |
Definition at line 11 of file AnnotationsEngine.php.
getAnnotation | ( | ?object | $container, |
string | $key, | ||
array | $parameters = [] |
||
) |
NULL | object | $container | |
string | $key | |
array | $parameters |
Implements AnnotationsEngineInterface.
Definition at line 92 of file AnnotationsEngine.php.
getAnnotationByKey | ( | ?string | $key = null | ) |
?string | $key |
Implements AnnotationsEngineInterface.
Definition at line 75 of file AnnotationsEngine.php.
getAnnotationsStr | ( | array | $annotations, |
string | $prefix = "\t" |
||
) |
array | $annotations |
Implements AnnotationsEngineInterface.
Definition at line 102 of file AnnotationsEngine.php.
getAnnotsOfClass | ( | string | $class, |
?string | $annotationType = null |
||
) |
string | $class | |
?string | $annotationType |
Implements AnnotationsEngineInterface.
Definition at line 71 of file AnnotationsEngine.php.
getAnnotsOfMethod | ( | string | $class, |
string | $method, | ||
?string | $annotationType = null |
||
) |
string | $class | |
string | $method | |
?string | $annotationType |
Implements AnnotationsEngineInterface.
Definition at line 88 of file AnnotationsEngine.php.
getAnnotsOfProperty | ( | string | $class, |
string | $property, | ||
?string | $annotationType = null |
||
) |
string | $class | |
string | $property | |
?string | $annotationType |
Implements AnnotationsEngineInterface.
Definition at line 84 of file AnnotationsEngine.php.
getUses | ( | ) |
Definition at line 145 of file AnnotationsEngine.php.
is | ( | string | $key, |
object | $annotation | ||
) |
Implements AnnotationsEngineInterface.
Definition at line 137 of file AnnotationsEngine.php.
|
static |
Implements AnnotationsEngineInterface.
Definition at line 125 of file AnnotationsEngine.php.
|
static |
Implements AnnotationsEngineInterface.
Definition at line 133 of file AnnotationsEngine.php.
|
static |
Implements AnnotationsEngineInterface.
Definition at line 121 of file AnnotationsEngine.php.
|
static |
Implements AnnotationsEngineInterface.
Definition at line 129 of file AnnotationsEngine.php.
|
protected |
Definition at line 67 of file AnnotationsEngine.php.
registerAcls | ( | ) |
Implements AnnotationsEngineInterface.
Definition at line 149 of file AnnotationsEngine.php.
registerAnnotations | ( | array | $nameClasses | ) |
array | $nameClasses | an array of name=>class annotations |
Implements AnnotationsEngineInterface.
Definition at line 59 of file AnnotationsEngine.php.
start | ( | string | $cacheDirectory | ) |
Start the annotations engine for dev mode.
string | $cacheDirectory |
Implements AnnotationsEngineInterface.
Definition at line 19 of file AnnotationsEngine.php.
|
staticprotected |
Definition at line 17 of file AnnotationsEngine.php.