Spec-Zone.ru › Symfony 4.1

JsonDescriptor

class JsonDescriptor extends Descriptor

JSON-описатель.

Свойства

protected OutputInterface $output из Descriptor

Методы

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

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

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

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

из Descriptor
string|mixed describeInputArgument(InputArgument $argument, array $options = array())

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

string|mixed describeInputOption(InputOption $option, array $options = array())

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

string|mixed describeInputDefinition(InputDefinition $definition, array $options = array())

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

string|mixed describeCommand(Command $command, array $options = array())

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

string|mixed describeApplication(Application $application, array $options = array())

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

Детали

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

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

Параметры

OutputInterface $output
object $object
array $options

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

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

Параметры

string $content
bool $decorated

protected string|mixed describeInputArgument(InputArgument $argument, array $options = array())

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

Параметры

InputArgument $argument
array $options

Возвращаемое значение

string|mixed

protected string|mixed describeInputOption(InputOption $option, array $options = array())

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

Параметры

InputOption $option
array $options

Возвращаемое значение

string|mixed

protected string|mixed describeInputDefinition(InputDefinition $definition, array $options = array())

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

Параметры

InputDefinition $definition
array $options

Возвращаемое значение

string|mixed

protected string|mixed describeCommand(Command $command, array $options = array())

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

Параметры

Command $command
array $options

Возвращаемое значение

string|mixed

protected string|mixed describeApplication(Application $application, array $options = array())

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

Параметры

Application $application
array $options

Возвращаемое значение

string|mixed

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

Spec-Zone.ru

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