$this->
write(isset($options['name'
]) ?
$options['name'
]."\n".
str_repeat('-', \
strlen($options['name'
]))."\n\n".
$output :
$output);
$this->
write("\n"
);
} protected function describeContainerParameters(ParameterBag
$parameters, array
$options =
[]): void
{ $this->
write("Container parameters\n====================\n"
);
foreach ($this->
sortParameters($parameters) as $key =>
$value) { $this->
write(sprintf("\n- `%s`: `%s`",
$key,
$this->
formatParameter($value)));
} } protected function describeContainerTags(ContainerBuilder
$container, array
$options =
[]): void
{ $showHidden =
isset($options['show_hidden'
]) &&
$options['show_hidden'
];
$this->
write("Container tags\n=============="
);
foreach ($this->
findDefinitionsByTag($container,
$showHidden) as $tag =>
$definitions) { $this->
write("\n\n".
$tag."\n".
str_repeat('-', \
strlen($tag)));