Doctrine\Common\Annotations\AnnotationRegistry::registerLoader
Register an autoloading callable for annotations, much like spl_autoload_register().
NOTE: These class loaders HAVE to be silent when a class was not found! IMPORTANT: Loaders have to return true if they loaded a class that could contain the searched annotation class.
Signature
public function registerLoader(callable
$callable )
Parameters
$callable
— object