Skip to content

Commit

Permalink
#135 documenting deprecation of AnnotationRegistry::registerLoader()
Browse files Browse the repository at this point in the history
  • Loading branch information
Ocramius committed Jul 22, 2017
1 parent 0e45053 commit 17e4de9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/Doctrine/Common/Annotations/AnnotationRegistry.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,10 @@ public static function registerAutoloadNamespaces(array $namespaces)
* @return void
*
* @throws \InvalidArgumentException
*
* @deprecated this method is deprecated and will be removed in doctrine/annotations 2.0
* autoloading should be deferred to the globally registered autoloader by then. For now,
* use @example AnnotationRegistry::registerLoader('class_exists')
*/
public static function registerLoader(callable $callable)
{
Expand Down

0 comments on commit 17e4de9

Please sign in to comment.