$object instanceof ContainerBuilder &&
isset($options['parameter'
]) =>
$this->
describeContainerParameter($object->
resolveEnvPlaceholders($object->
getParameter($options['parameter'
])),
$options),
$object instanceof ContainerBuilder &&
isset($options['deprecations'
]) =>
$this->
describeContainerDeprecations($object,
$options),
$object instanceof ContainerBuilder =>
$this->
describeContainerServices($object,
$options),
$object instanceof Definition =>
$this->
describeContainerDefinition($object,
$options),
$object instanceof Alias =>
$this->
describeContainerAlias($object,
$options),
$object instanceof EventDispatcherInterface =>
$this->
describeEventDispatcherListeners($object,
$options),
\
is_callable($object) =>
$this->
describeCallable($object,
$options),
default =>
throw new \
InvalidArgumentException(sprintf('Object of type "%s" is not describable.',
get_debug_type($object))),
};
if ($object instanceof ContainerBuilder
) { $object->
getCompiler()->
getServiceReferenceGraph()->
clear();
} } protected function getOutput(): OutputInterface
{ return $this->output;
} protected function write(string
$content, bool
$decorated = false
): void
{ $this->output->
write($content, false,
$decorated ? OutputInterface::OUTPUT_NORMAL : OutputInterface::OUTPUT_RAW
);
}