PhpParser\Node\NullableType::__construct PHP Метод

__construct() публичный Метод

Constructs a nullable type (wrapping another type).
public __construct ( string | Name $type, array $attributes = [] )
$type string | Name Type
$attributes array Additional attributes
    public function __construct($type, array $attributes = array())
    {
        parent::__construct($attributes);
        $this->type = $type;
    }