PHP Class Trismegiste\Mondrian\Parser\PhpFileBuilder

Inheritance: extends PHPParser_BuilderAbstract
Exibir arquivo Open project: trismegiste/mondrian

Protected Properties

Property Type Description
$fileNamespace
$filename
$theClass
$useList

Public Methods

Method Description
__construct ( $absPath )
addUse ( string $str ) : PhpFileBuilder Add an "use fqcn"
declaring ( mixed $stmt ) : PhpFileBuilder Declares a class or an interface
getNode ( )
ns ( string $str ) : PhpFileBuilder Namespace

Method Details

__construct() public method

public __construct ( $absPath )

addUse() public method

Add an "use fqcn"
public addUse ( string $str ) : PhpFileBuilder
$str string
return PhpFileBuilder this instance

declaring() public method

Declares a class or an interface
public declaring ( mixed $stmt ) : PhpFileBuilder
$stmt mixed a Node_Stmt or a Node_Builder
return PhpFileBuilder this instance

getNode() public method

public getNode ( )

ns() public method

Namespace
public ns ( string $str ) : PhpFileBuilder
$str string
return PhpFileBuilder this instance

Property Details

$fileNamespace protected_oe property

protected $fileNamespace

$filename protected_oe property

protected $filename

$theClass protected_oe property

protected $theClass

$useList protected_oe property

protected $useList