Doctrine\ODM\OrientDB\Mapper\Annotations\Reader::__construct PHP Метод

__construct() публичный Метод

This reader is basically a proxy wrapping Doctrine's one.
public __construct ( Doctrine\Common\Cache\Cache $cacheReader = null )
$cacheReader Doctrine\Common\Cache\Cache
    public function __construct(Cache $cacheReader = null)
    {
        if (!$cacheReader) {
            $cacheReader = $this->createCacheProvider();
        }
        $this->reader = new CachedReader(new AnnotationReader(), $cacheReader);
        AnnotationRegistry::registerAutoloadNamespace("Doctrine\\OrientDB");
        AnnotationRegistry::registerFile(__DIR__ . '/Document.php');
        AnnotationRegistry::registerFile(__DIR__ . '/Property.php');
    }