PDepend\Source\AST\ASTCompilationUnit::getFileName PHP Method

getFileName() public method

Returns the physical file name for this object.
public getFileName ( ) : string
return string
    public function getFileName()
    {
        return $this->fileName;
    }

Usage Example

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