class TextDescriptor extends Descriptor
protected OutputInterface | $output | from Descriptor |
describe(OutputInterface $output, object $object, array $options = array()) Describes an object if supported. | from Descriptor | |
OutputInterface | getOutput() Returns the output. | from Descriptor |
write(string $content, bool $decorated = false) Writes content to output. | from Descriptor | |
describeRouteCollection(RouteCollection $routes, array $options = array()) Describes an InputArgument instance. | ||
describeRoute(Route $route, array $options = array()) Describes an InputOption instance. | ||
describeContainerParameters(ParameterBag $parameters, array $options = array()) Describes container parameters. | ||
describeContainerTags(ContainerBuilder $builder, array $options = array()) Describes container tags. | ||
describeContainerService(Definition|Alias|object $service, array $options = array(), ContainerBuilder $builder = null) Describes a container service by its name. | ||
describeContainerServices(ContainerBuilder $builder, array $options = array()) Describes container services. | ||
describeContainerDefinition(Definition $definition, array $options = array()) Describes a service definition. | ||
describeContainerAlias(Alias $alias, array $options = array(), ContainerBuilder $builder = null) Describes a service alias. | ||
describeContainerParameter($parameter, array $options = array()) Describes a container parameter. | ||
describeEventDispatcherListeners(EventDispatcherInterface $eventDispatcher, array $options = array()) Describes event dispatcher listeners. | ||
describeCallable(callable $callable, array $options = array()) Describes a callable. | ||
string | formatValue(mixed $value) Formats a value as string. | from Descriptor |
string | formatParameter(mixed $value) Formats a parameter. | from Descriptor |
mixed | resolveServiceDefinition(ContainerBuilder $builder, string $serviceId) | from Descriptor |
array | findDefinitionsByTag(ContainerBuilder $builder, bool $showHidden) | from Descriptor |
sortParameters(ParameterBag $parameters) | from Descriptor | |
sortServiceIds(array $serviceIds) | from Descriptor |
Describes an object if supported.
OutputInterface | $output | |
object | $object | |
array | $options |
Returns the output.
OutputInterface | The output |
Writes content to output.
string | $content | |
bool | $decorated |
Describes an InputArgument instance.
RouteCollection | $routes | |
array | $options |
Describes an InputOption instance.
Route | $route | |
array | $options |
Describes container parameters.
ParameterBag | $parameters | |
array | $options |
Describes container tags.
ContainerBuilder | $builder | |
array | $options |
Describes a container service by its name.
Common options are: * name: name of described service
Definition|Alias|object | $service | |
array | $options | |
ContainerBuilder | $builder |
Describes container services.
Common options are: * tag: filters described services by given tag
ContainerBuilder | $builder | |
array | $options |
Describes a service definition.
Definition | $definition | |
array | $options |
Describes a service alias.
Alias | $alias | |
array | $options | |
ContainerBuilder | $builder |
Describes a container parameter.
$parameter | ||
array | $options |
Describes event dispatcher listeners.
Common options are: * name: name of listened event
EventDispatcherInterface | $eventDispatcher | |
array | $options |
Describes a callable.
callable | $callable | |
array | $options |
Formats a value as string.
mixed | $value |
string |
Formats a parameter.
mixed | $value |
string |
ContainerBuilder | $builder | |
string | $serviceId |
mixed |
ContainerBuilder | $builder | |
bool | $showHidden |
array |
ParameterBag | $parameters |
array | $serviceIds |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Bundle/FrameworkBundle/Console/Descriptor/TextDescriptor.html