This method should be called when bootstrapping your application.
public static registerAnnotationClasses ( ) |
<?php if (!file_exists($file = __DIR__ . '/../vendor/autoload.php')) { throw new RuntimeException('Install dependencies to run test suite.'); } $loader = (require $file); \Doctrine\Search\Mapping\Driver\AnnotationDriver::registerAnnotationClasses();