Ubiquity 2.5.2
php rapid development framework
|
Ubiquity\annotations$AnnotationsInterface This class is part of Ubiquity. More...
Public Member Functions | |
start (string $cacheDirectory) | |
Start the annotations engine for dev mode. | |
registerAnnotations (array $nameClasses) | |
getAnnotsOfClass (string $class, ?string $annotationType=null) | |
getAnnotsOfMethod (string $class, string $method, ?string $annotationType=null) | |
getAnnotsOfProperty (string $class, string $property, ?string $annotationType=null) | |
getAnnotationByKey (?string $key=null) | |
getAnnotation (?object $container, string $key, array $parameters=[]) | |
getAnnotationsStr (array $annotations, string $prefix="\t") | |
is (string $key, object $annotation) | |
registerAcls () | |
Static Public Member Functions | |
static | isManyToOne (object $annotation) |
static | isMany (object $annotation) |
static | isOneToMany (object $annotation) |
static | isManyToMany (object $annotation) |
Ubiquity\annotations$AnnotationsInterface This class is part of Ubiquity.
Definition at line 12 of file AnnotationsEngineInterface.php.
getAnnotation | ( | ?object | $container, |
string | $key, | ||
array | $parameters = [] |
||
) |
NULL | object | $container | |
string | $key | |
array | $parameters |
Implemented in AnnotationsEngine, and AttributesEngine.
getAnnotationByKey | ( | ?string | $key = null | ) |
getAnnotationsStr | ( | array | $annotations, |
string | $prefix = "\t" |
||
) |
getAnnotsOfClass | ( | string | $class, |
?string | $annotationType = null |
||
) |
string | $class | |
?string | $annotationType |
Implemented in AnnotationsEngine, and AttributesEngine.
getAnnotsOfMethod | ( | string | $class, |
string | $method, | ||
?string | $annotationType = null |
||
) |
string | $class | |
string | $method | |
?string | $annotationType |
Implemented in AnnotationsEngine, and AttributesEngine.
getAnnotsOfProperty | ( | string | $class, |
string | $property, | ||
?string | $annotationType = null |
||
) |
string | $class | |
string | $property | |
?string | $annotationType |
Implemented in AnnotationsEngine, and AttributesEngine.
is | ( | string | $key, |
object | $annotation | ||
) |
Implemented in AnnotationsEngine, and AttributesEngine.
|
static |
Implemented in AnnotationsEngine, and AttributesEngine.
|
static |
Implemented in AnnotationsEngine, and AttributesEngine.
|
static |
Implemented in AnnotationsEngine, and AttributesEngine.
|
static |
Implemented in AnnotationsEngine, and AttributesEngine.
registerAcls | ( | ) |
Implemented in AnnotationsEngine, and AttributesEngine.
registerAnnotations | ( | array | $nameClasses | ) |
array | $nameClasses | an array of name=>class annotations |
Implemented in AnnotationsEngine, and AttributesEngine.
start | ( | string | $cacheDirectory | ) |
Start the annotations engine for dev mode.
string | $cacheDirectory |
Implemented in AnnotationsEngine, and AttributesEngine.