$this->
writeDocument($this->
getRouteDocument($route,
$options['name'
] ?? null
));
} protected function describeContainerParameters(ParameterBag
$parameters, array
$options =
[]): void
{ $this->
writeDocument($this->
getContainerParametersDocument($parameters));
} protected function describeContainerTags(ContainerBuilder
$container, array
$options =
[]): void
{ $this->
writeDocument($this->
getContainerTagsDocument($container,
isset($options['show_hidden'
]) &&
$options['show_hidden'
]));
} protected function describeContainerService(object
$service, array
$options =
[], ContainerBuilder
$container = null
): void
{ if (!
isset($options['id'
])) { throw new \
InvalidArgumentException('An "id" option must be provided.'
);
} $this->
writeDocument($this->
getContainerServiceDocument($service,
$options['id'
],
$container,
isset($options['show_arguments'
]) &&
$options['show_arguments'
]));
}