AppserverIo\Appserver\Core\Api\Node\AnnotationRegistryNodeInterface::getFile PHP Method

getFile() public method

Returns the annotation registry's file.
public getFile ( ) : string
return string The annotation registry's file
    public function getFile();

Usage Example

コード例 #1
0
 /**
  * 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());
 }