MarkdownDescriptor
class MarkdownDescriptor extends Descriptor
Описание в формате Markdown.
Свойства
| protected OutputInterface | $output | из Descriptor |
Методы
| describe(OutputInterface $output, object $object, array $options = array()) Описывает объект, если это поддерживается. | ||
| write(string $content, bool $decorated = true) Записывает содержимое в вывод. | ||
| 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 = true)
Записывает содержимое в вывод.
Параметры
| 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/MarkdownDescriptor.html