PHP Class PHPCfg\Op

显示文件 Open project: ircmaxell/php-cfg Class Usage Examples

Protected Properties

Property Type Description
$attributes
$writeVariables

Public Methods

Method Description
__construct ( array $attributes = [] )
getAttribute ( $key, $default = null )
getAttributes ( )
getFile ( )
getLine ( )
getSubBlocks ( )
getType ( )
getVariableNames ( )
hasAttribute ( $key )
isWriteVariable ( $name )
setAttribute ( $key, &$value )

Protected Methods

Method Description
addReadRef ( $op )
addWriteRef ( $op )

Method Details

__construct() public method

public __construct ( array $attributes = [] )
$attributes array

addReadRef() protected method

protected addReadRef ( $op )

addWriteRef() protected method

protected addWriteRef ( $op )

getAttribute() public method

public getAttribute ( $key, $default = null )

getAttributes() public method

public getAttributes ( )

getFile() public method

public getFile ( )

getLine() public method

public getLine ( )

getSubBlocks() abstract public method

abstract public getSubBlocks ( )

getType() public method

public getType ( )

getVariableNames() abstract public method

abstract public getVariableNames ( )

hasAttribute() public method

public hasAttribute ( $key )

isWriteVariable() public method

public isWriteVariable ( $name )

setAttribute() public method

public setAttribute ( $key, &$value )

Property Details

$attributes protected_oe property

protected $attributes

$writeVariables protected_oe property

protected $writeVariables