You are here

public static function AnnotationRegistry::registerFile in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationRegistry.php \Doctrine\Common\Annotations\AnnotationRegistry::registerFile()

Registers file.

Parameters

string $file:

Return value

void

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

File

vendor/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;
}