19 public function start(
string $cacheDirectory): void;
34 public function getAnnotsOfClass(
string $class, ?
string $annotationType =
null): array;
43 public function getAnnotsOfMethod(
string $class,
string $method, ?
string $annotationType =
null): array;
52 public function getAnnotsOfProperty(
string $class,
string $property, ?
string $annotationType =
null): array;
67 public function getAnnotation(?
object $container,
string $key,array $parameters=[]): ?object;
77 public static function isMany(
object $annotation):bool;
83 public function is(
string $key,
object $annotation): bool;
Ubiquity\annotations$AnnotationsInterface This class is part of Ubiquity.
getAnnotsOfClass(string $class, ?string $annotationType=null)
static isOneToMany(object $annotation)
static isMany(object $annotation)
start(string $cacheDirectory)
Start the annotations engine for dev mode.
getAnnotationsStr(array $annotations, string $prefix="\t")
is(string $key, object $annotation)
static isManyToMany(object $annotation)
getAnnotationByKey(?string $key=null)
getAnnotation(?object $container, string $key, array $parameters=[])
getAnnotsOfProperty(string $class, string $property, ?string $annotationType=null)
registerAnnotations(array $nameClasses)
static isManyToOne(object $annotation)
getAnnotsOfMethod(string $class, string $method, ?string $annotationType=null)