Lines Matching refs:Annotations
1 Handling Annotations
4 There are several different approaches to handling annotations in PHP. Doctrine Annotations
20 * @MyProject\Annotations\Foobarable
43 - Annotations imported through use statements. The statement ``use Doctrine\ORM\Mapping AS ORM`` ma…
44 …It is not a documentation annotation and not blacklisted. For Doctrine Annotations it is not entir…
45 - The fully qualified annotation ``@MyProject\Annotations\Foobarable``. This is transformed directl…
52 This is why Doctrine Annotations uses its own autoloading mechanism through a global registry. If y…
56 To anticipate the configuration section, making the above PHP class work with Doctrine Annotations …
60 use Doctrine\Common\Annotations\AnnotationReader;
61 use Doctrine\Common\Annotations\AnnotationRegistry;
65 … AnnotationRegistry::registerAutoloadNamespace("MyProject\Annotations", "/path/to/myproject/src");
85 $reader = new \Doctrine\Common\Annotations\AnnotationReader();
95 use Doctrine\Common\Annotations\FileCacheReader;
96 use Doctrine\Common\Annotations\AnnotationReader;
113 use Doctrine\Common\Annotations\AnnotationReader;
114 use Doctrine\Common\Annotations\CachedReader;
141 use Doctrine\Common\Annotations\AnnotationReader;
142 use Doctrine\Common\Annotations\IndexedReader;
152 Registering Annotations
155 As explained in the Introduction Doctrine Annotations uses its own autoloading mechanism to determi…
157 to configure the ``Doctrine\Common\Annotations\AnnotationRegistry``. There are three different mech…
178 use Doctrine\Common\Annotations\AnnotationRegistry;
207 $reader = new \Doctrine\Common\Annotations\AnnotationReader();
222 $reader = new \Doctrine\Common\Annotations\AnnotationReader();