Lines Matching refs:to

4 There are several different approaches to handling annotations in PHP. Doctrine Annotations
5 maps docblock annotations to PHP classes. Because not all docblock annotations are used
6 for metadata purposes a filter is applied to ignore or skip classes that are not Doctrine annotatio…
42 …ions are on a blacklist and never considered for throwing an exception due to wrongly used annotat…
44 …and not blacklisted. For Doctrine Annotations it is not entirely clear how to handle this annotati…
49 of ``class_exists($name, $autoload)`` to false. To work flawlessly the AnnotationReader requires si…
53 there is no other way to solve the architectural problems of autoloading annotation classes in a st…
63 …AnnotationRegistry::registerFile("/path/to/doctrine/lib/Doctrine/ORM/Mapping/Driver/DoctrineAnnota…
64 …istry::registerAutoloadNamespace("Symfony\Component\Validator\Constraint", "/path/to/symfony/src");
65 … AnnotationRegistry::registerAutoloadNamespace("MyProject\Annotations", "/path/to/myproject/src");
71 …nnotations in a single file, that is why ``AnnotationRegistry#registerFile`` is used in contrast to
72 …sterAutoloadNamespace`` which creates a PSR-0 compatible loading mechanism for class to file names.
74 …create the actual AnnotationReader instance. Note that we also add "dummy" to the global list of a…
75 …. Setting this is necessary in our example case, otherwise ``@dummy`` would trigger an exception to
81 To use the annotations library is simple, you just need to create a new ``AnnotationReader`` instan…
100 "/path/to/cache",
104 If you set the debug flag to true the cache reader will check for changes in the original files, wh…
105 …very important during development. If you don't set it to true you have to delete the directory to
109 You can also use one of the ``Doctrine\Common\Cache\Cache`` cache implementations to cache the anno…
123 The debug flag is used here as well to invalidate the cache files when the PHP class with annotatio…
137 to be indexed by their class name you can wrap the reader in an IndexedReader:
149 …the cache with indexed or numeric keys, otherwise your code may experience failures due to caching…
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…
158 to configure annotation autoloading:
160 - Calling ``AnnotationRegistry#registerFile($file)`` to register a file that contains one or more…
161 - Calling ``AnnotationRegistry#registerNamespace($namespace, $dirs = null)`` to register that the…
164 …he root namespace. The AnnotationRegistry uses a namespace to directory separator approach to reso…
165 - Calling ``AnnotationRegistry#registerLoader($callable)`` to register an autoloader callback. Th…
166 …class as first and only parameter and has to return true if the corresponding file was found and i…
170 …Loaders have to fail silently, if a class is not found even if it matches for example the namespac…
171 …Never is a loader to throw a warning or exception if the loading failed otherwise parsing doc bloc…
213 By default the annotation reader parses the use-statement of a php file to gain access to the impor…
217 To ease the upgrade path, we still allow you to disable this mechanism. Note however that we will r…