class MarkdownDescriptor extends Descriptor

Markdown descriptor.

Properties

protected OutputInterface $output from Descriptor

Methods

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

Describes an object if supported.

write(string $content, bool $decorated = true)

Writes content to output.

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

Describes an InputArgument instance.

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

Describes an InputOption instance.

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

Describes an InputDefinition instance.

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

Describes a Command instance.

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

Describes an Application instance.

Details

at line 34
describe(OutputInterface $output, object $object, array $options = [])

Describes an object if supported.

Parameters

OutputInterface $output
object $object
array $options

at line 47
protected write(string $content, bool $decorated = true)

Writes content to output.

Parameters

string $content
bool $decorated

at line 55
protected string|mixed describeInputArgument(InputArgument $argument, array $options = [])

Describes an InputArgument instance.

Parameters

InputArgument $argument
array $options

Return Value

string|mixed

at line 69
protected string|mixed describeInputOption(InputOption $option, array $options = [])

Describes an InputOption instance.

Parameters

InputOption $option
array $options

Return Value

string|mixed

at line 89
protected string|mixed describeInputDefinition(InputDefinition $definition, array $options = [])

Describes an InputDefinition instance.

Parameters

InputDefinition $definition
array $options

Return Value

string|mixed

at line 115
protected string|mixed describeCommand(Command $command, array $options = [])

Describes a Command instance.

Parameters

Command $command
array $options

Return Value

string|mixed

at line 144
protected string|mixed describeApplication(Application $application, array $options = [])

Describes an Application instance.

Parameters

Application $application
array $options

Return Value

string|mixed