PHP Class PHPSA\Node\Scalar\Fake

Inheritance: extends PhpParser\Node\Scalar
Show file Open project: ovr/phpsa

Public Properties

Property Type Description
$type mixed
$value mixed

Public Methods

Method Description
__construct ( mixed $value, mixed $type, array $attributes = [] ) Constructs a fake node.
getSubNodeNames ( ) : array

Method Details

__construct() public method

Constructs a fake node.
public __construct ( mixed $value, mixed $type, array $attributes = [] )
$value mixed Value of the Node
$type mixed Type of the node
$attributes array Additional attributes

getSubNodeNames() public method

public getSubNodeNames ( ) : array
return array

Property Details

$type public property

public mixed $type
return mixed

$value public property

public mixed $value
return mixed