PDepend\Source\AST\ASTCompilationUnit::getFileName PHP Метод

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

Returns the physical file name for this object.
public getFileName ( ) : string
Результат string
    public function getFileName()
    {
        return $this->fileName;
    }

Usage Example

Пример #1
0
 /**
  * Parse a statement.
  *
  * @return \PDepend\Source\AST\ASTNode
  * @throws \PDepend\Source\Parser\UnexpectedTokenException
  * @since  1.0.0
  */
 private function parseStatement()
 {
     if (null === ($stmt = $this->parseOptionalStatement())) {
         throw new UnexpectedTokenException($this->tokenizer->next(), $this->compilationUnit->getFileName());
     }
     return $stmt;
 }
All Usage Examples Of PDepend\Source\AST\ASTCompilationUnit::getFileName