PHP Class PhpParser\Node\NullableType

Inheritance: extends PhpParser\NodeAbstract
Show file Open project: nikic/php-parser

Public Properties

Property Type Description
$type Type

Public Methods

Method Description
__construct ( string | Name $type, array $attributes = [] ) Constructs a nullable type (wrapping another type).
getSubNodeNames ( )

Method Details

__construct() public method

Constructs a nullable type (wrapping another type).
public __construct ( string | Name $type, array $attributes = [] )
$type string | Name Type
$attributes array Additional attributes

getSubNodeNames() public method

public getSubNodeNames ( )

Property Details

$type public property

Type
public $type