'type' =>
$type, 'is_null_coalesce' => false, 'is_short_circuited' => false
],
);
} public function compile(Compiler
$compiler): void
{ $nullSafe =
$this->nodes
['attribute'
] instanceof ConstantNode &&
$this->nodes
['attribute'
]->isNullSafe;
switch ($this->attributes
['type'
]) { case self::PROPERTY_CALL:
$compiler ->
compile($this->nodes
['node'
]) ->
raw($nullSafe ? '?->' : '->'
) ->
raw($this->nodes
['attribute'
]->attributes
['value'
]) ;
break;
case self::METHOD_CALL:
$compiler ->
compile($this->nodes
['node'
]) ->
raw($nullSafe ? '?->' : '->'
) ->
raw($this->nodes
['attribute'
]->attributes
['value'
]) ->
raw('('
) ->
compile($this->nodes
['arguments'
])