$class->
addUse(InvalidConfigurationException::
class);
$class->
addMethod($node->
getName(),
$body,
[ 'COMMENT' =>
$comment,
'PROPERTY' =>
$property->
getName(),
'CLASS' =>
$childClass->
getFqcn(),
'PARAM_TYPE' => \
in_array('mixed',
$nodeTypes, true
) ? 'mixed' :
implode('|',
$nodeTypes),
]);
$this->
buildNode($node,
$childClass,
$this->
getSubNamespace($childClass));
} private function handleVariableNode(VariableNode
$node, ClassBuilder
$class): void
{