\Trismegiste\Mondrian\ParserPhpFileBuilder

PhpFileBuilder is a builder for a PhpFile node : Enforces the PSR-0 : one class per file

Summary

Methods
Properties
Constants
__construct()
getNode()
declaring()
ns()
addUse()
No public properties found
No constants found
No protected methods found
$filename
$fileNamespace
$theClass
$useList
N/A
No private methods found
No private properties found
N/A

Properties

$filename

$filename : 

Type

$fileNamespace

$fileNamespace : 

Type

$theClass

$theClass : 

Type

$useList

$useList : 

Type

Methods

__construct()

__construct(  $absPath) 

Parameters

$absPath

getNode()

getNode() 

declaring()

declaring(mixed  $stmt) : \Trismegiste\Mondrian\Parser\PhpFileBuilder

Declares a class or an interface

Parameters

mixed $stmt

a Node_Stmt or a Node_Builder

Throws

\InvalidArgumentException

Returns

\Trismegiste\Mondrian\Parser\PhpFileBuilder

this instance