You are here

public static function AnnotationRegistry::registerFile in Plug 7

Registers file.

Parameters

string $file:

Return value

void

2 calls to AnnotationRegistry::registerFile()
AnnotationReader::__construct in lib/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationReader.php
Constructor.
DocParser::collectAnnotationMetadata in lib/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php
Collects parsing metadata for a given annotation class

File

lib/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationRegistry.php, line 62

Class

AnnotationRegistry
AnnotationRegistry.

Namespace

Doctrine\Common\Annotations

Code

public static function registerFile($file) {
  require_once $file;
}