Documentation

ReStructuredTextDescriptor extends Descriptor
in package

Table of Contents

Properties

$chapterChar  : string
$paragraphsChar  : string
$partChar  : string
$sectionChar  : string
$subsectionChar  : string
$subsubsectionChar  : string
$visibleNamespaces  : array<string|int, mixed>

Methods

describe()  : void
describeApplication()  : void
describeCommand()  : void
describeInputArgument()  : void
describeInputDefinition()  : void
describeInputOption()  : void
write()  : void
Override parent method to set $decorated = true.
createTableOfContents()  : void
describeCommands()  : void
getApplicationTitle()  : string
getNonDefaultOptions()  : array<string|int, mixed>
removeAliasesAndHiddenCommands()  : array<string|int, mixed>
setVisibleNamespaces()  : void

Properties

Methods

describeCommand()

protected describeCommand(Command $command[, array<string|int, mixed> $options = [] ]) : void
Parameters
$command : Command
$options : array<string|int, mixed> = []

write()

Override parent method to set $decorated = true.

protected write(string $content[, bool $decorated = true ]) : void
Parameters
$content : string
$decorated : bool = true

describeCommands()

private describeCommands(mixed $application, array<string|int, mixed> $options) : void
Parameters
$application : mixed
$options : array<string|int, mixed>

removeAliasesAndHiddenCommands()

private removeAliasesAndHiddenCommands(array<string|int, mixed> $commands) : array<string|int, mixed>
Parameters
$commands : array<string|int, mixed>
Return values
array<string|int, mixed>

setVisibleNamespaces()

private setVisibleNamespaces(ApplicationDescription $description) : void
Parameters
$description : ApplicationDescription

        
On this page

Search results