AppserverIo\Appserver\Core\Api\Node\AnnotationRegistryNodeInterface::getFile PHP Метод

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

Returns the annotation registry's file.
public getFile ( ) : string
Результат string The annotation registry's file
    public function getFile();

Usage Example

 /**
  * Register's the annotation driver for the passed configuration.
  *
  * @param \AppserverIo\Appserver\Core\Api\Node\AnnotationRegistryNodeInterface $annotationRegistry The configuration node
  *
  * @return void
  */
 public function register(AnnotationRegistryNodeInterface $annotationRegistry)
 {
     AnnotationRegistry::registerFile($annotationRegistry->getFile());
 }