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

__construct() public method

Constructs a new source file instance.
public __construct ( string $fileName )
$fileName string The source file name/path.
    public function __construct($fileName)
    {
        if ($fileName !== null) {
            $this->fileName = realpath($fileName);
        }
    }