registerAnnotationClasses() public static method

This method should be called when bootstrapping your application.
public static registerAnnotationClasses ( )
コード例 #1
0
ファイル: bootstrap.php プロジェクト: doctrine/search
<?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();