/**
* Gets an already defined service definition.
*
* @throws ServiceNotFoundException if the service definition does not exist
*/
final public function get(string
$id): ServiceConfigurator
{ $definition =
$this->container->
getDefinition($id);
return new ServiceConfigurator($this->container,
$definition->
getInstanceofConditionals(), true,
$this,
$definition,
$id,
[]);
} /**
* Registers a stack of decorator services.
*
* @param InlineServiceConfigurator[]|ReferenceConfigurator[] $services
*/
final public function stack(string
$id, array
$services): AliasConfigurator
{ foreach ($services as $i =>
$service) { if ($service instanceof InlineServiceConfigurator
) {