Spec-Zone.ru › Symfony 4.1

MarkdownDescriptor

class MarkdownDescriptor extends Descriptor

Свойства

protected OutputInterface $output из Descriptor

Методы

describe(OutputInterface $output, object $object, array $options = array())

Описывает объект, если это поддерживается.

из Descriptor
OutputInterface getOutput()

Возвращает вывод.

из Descriptor
write(string $content, bool $decorated = false)

Записывает содержимое в вывод.

из Descriptor
describeRouteCollection(RouteCollection $routes, array $options = array())

Описывает экземпляр InputArgument.

describeRoute(Route $route, array $options = array())

Описывает экземпляр InputOption.

describeContainerParameters(ParameterBag $parameters, array $options = array())

Описывает параметры контейнера.

describeContainerTags(ContainerBuilder $builder, array $options = array())

Описывает теги контейнера.

describeContainerService(Definition|Alias|object $service, array $options = array(), ContainerBuilder $builder = null)

Описывает сервис контейнера по его имени.

describeContainerServices(ContainerBuilder $builder, array $options = array())

Описывает сервисы контейнера.

describeContainerDefinition(Definition $definition, array $options = array())

Описывает определение сервиса.

describeContainerAlias(Alias $alias, array $options = array(), ContainerBuilder $builder = null)

Описывает псевдоним сервиса.

describeContainerParameter($parameter, array $options = array())

Описывает параметр контейнера.

describeEventDispatcherListeners(EventDispatcherInterface $eventDispatcher, array $options = array())

Описывает слушателей диспетчера событий.

describeCallable(callable $callable, array $options = array())

Описывает вызываемый объект.

string formatValue(mixed $value)

Форматирует значение в строку.

из Descriptor
string formatParameter(mixed $value)

Форматирует параметр.

из Descriptor
mixed resolveServiceDefinition(ContainerBuilder $builder, string $serviceId) из Descriptor
array findDefinitionsByTag(ContainerBuilder $builder, bool $showHidden) из Descriptor
sortParameters(ParameterBag $parameters) из Descriptor
sortServiceIds(array $serviceIds) из Descriptor

Подробности

describe(OutputInterface $output, object $object, array $options = array())

Описывает объект, если это поддерживается.

Параметры

OutputInterface $output
object $object
array $options

protected OutputInterface getOutput()

Возвращает вывод.

Значение возврата

OutputInterface Вывод

protected write(string $content, bool $decorated = false)

Записывает содержимое в вывод.

Параметры

string $content
bool $decorated

protected describeRouteCollection(RouteCollection $routes, array $options = array())

Описывает экземпляр InputArgument.

Параметры

RouteCollection $routes
array $options

protected describeRoute(Route $route, array $options = array())

Описывает экземпляр InputOption.

Параметры

Route $route
array $options

protected describeContainerParameters(ParameterBag $parameters, array $options = array())

Описывает параметры контейнера.

Параметры

ParameterBag $parameters
array $options

protected describeContainerTags(ContainerBuilder $builder, array $options = array())

Описывает метки контейнера.

Параметры

ContainerBuilder $builder
array $options

protected describeContainerService(Definition|Alias|object $service, array $options = array(), ContainerBuilder $builder = null)

Описывает службу контейнера по ее имени.

Общие параметры: * name: имя описываемой службы

Параметры

Definition|Alias|object $service
array $options
ContainerBuilder $builder

protected describeContainerServices(ContainerBuilder $builder, array $options = array())

Описывает службы контейнера.

Общие параметры: * tag: фильтрует описанные службы по заданной метке

Параметры

ContainerBuilder $builder
array $options

protected describeContainerDefinition(Definition $definition, array $options = array())

Описывает определение службы.

Параметры

Definition $definition
array $options

protected describeContainerAlias(Alias $alias, array $options = array(), ContainerBuilder $builder = null)

Описывает псевдоним службы.

Параметры

Alias $alias
array $options
ContainerBuilder $builder

protected describeContainerParameter($parameter, array $options = array())

Описывает параметр контейнера.

Параметры

$parameter
array $options

protected describeEventDispatcherListeners(EventDispatcherInterface $eventDispatcher, array $options = array())

Описывает слушателей диспетчера событий.

Общие параметры: * name: имя прослушиваемого события

Параметры

EventDispatcherInterface $eventDispatcher
array $options

protected describeCallable(callable $callable, array $options = array())

Описывает вызываемый объект.

Параметры

callable $callable
array $options

protected string formatValue(mixed $value)

Форматирует значение как строку.

Параметры

mixed $value

Значение возврата

string

protected string formatParameter(mixed $value)

Форматирует параметр.

Параметры

mixed $value

Значение возврата

string

protected mixed resolveServiceDefinition(ContainerBuilder $builder, string $serviceId)

Параметры

ContainerBuilder $builder
string $serviceId

Значение возврата

mixed

protected array findDefinitionsByTag(ContainerBuilder $builder, bool $showHidden)

Параметры

ContainerBuilder $builder
bool $showHidden

Значение возврата

array

protected sortParameters(ParameterBag $parameters)

Параметры

ParameterBag $parameters

protected sortServiceIds(array $serviceIds)

Параметры

массив $serviceIds

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Bundle/FrameworkBundle/Console/Descriptor/MarkdownDescriptor.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API