public static function AnnotationRegistry::registerFile

Register file

Parameters

string $file:

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

File

drupal/core/vendor/doctrine/common/lib/Doctrine/Common/Annotations/AnnotationRegistry.php, line 57

Class

AnnotationRegistry
AnnotationRegistry

Namespace

Doctrine\Common\Annotations

Code

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