if (0 !==
$priority) { $code .=
sprintf(" decoration_priority: %s\n",
$priority);
} $decorationOnInvalid =
$decoratedService[3
] ?? ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE;
if (\
in_array($decorationOnInvalid,
[ContainerInterface::IGNORE_ON_INVALID_REFERENCE, ContainerInterface::NULL_ON_INVALID_REFERENCE
])) { $invalidBehavior = ContainerInterface::NULL_ON_INVALID_REFERENCE ===
$decorationOnInvalid ? 'null' : 'ignore';
$code .=
sprintf(" decoration_on_invalid: %s\n",
$invalidBehavior);
} } if ($callable =
$definition->
getFactory()) { if (\
is_array($callable) &&
['Closure', 'fromCallable'
] !==
$callable &&
$definition->
getClass() ===
$callable[0
]) { $code .=
sprintf(" constructor: %s\n",
$callable[1
]);
} else { $code .=
sprintf(" factory: %s\n",
$this->dumper->
dump($this->
dumpCallable($callable), 0
));
} } if ($callable =
$definition->
getConfigurator()) { $code .=
sprintf(" configurator: %s\n",
$this->dumper->
dump($this->
dumpCallable($callable), 0
));
}