registerAnnotationClasses() публичный статический Метод

This method should be called when bootstrapping your application.
public static registerAnnotationClasses ( )
Пример #1
0
<?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();