public static function AnnotationRegistry::registerFile in Service Container 7
Same name and namespace in other branches
- 7.2 modules/providers/service_container_annotation_discovery/lib/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 modules/
providers/ service_container_annotation_discovery/ lib/ Doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ AnnotationReader.php - Constructor.
- DocParser::collectAnnotationMetadata in modules/
providers/ service_container_annotation_discovery/ lib/ Doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ DocParser.php - Collects parsing metadata for a given annotation class
File
- modules/
providers/ service_container_annotation_discovery/ lib/ Doctrine/ annotations/ lib/ Doctrine/ Common/ Annotations/ AnnotationRegistry.php, line 62
Class
- AnnotationRegistry
- AnnotationRegistry.
Namespace
Doctrine\Common\AnnotationsCode
public static function registerFile($file) {
require_once $file;
}