TextDescriptorHelper
class TextDescriptorHelper extends AbstractDescriptorHelper (View source)
A descriptor helper to get different descriptor and render it.
Methods
__construct(DescriptorInterface $CommandDescriptor = null, DescriptorInterface $optionDescriptor = null)
The class constructor.
$this
$this
string
Details
in AbstractDescriptorHelper at line line 44
__construct(DescriptorInterface $CommandDescriptor = null, DescriptorInterface $optionDescriptor = null)
The class constructor.
in AbstractDescriptorHelper at line line 57
DescriptorInterface
getCommandDescriptor()
Command descriptor getter.
in AbstractDescriptorHelper at line line 71
$this
setCommandDescriptor(DescriptorInterface $CommandDescriptor)
Command descriptor setter.
in AbstractDescriptorHelper at line line 85
DescriptorInterface
getOptionDescriptor()
Option descriptor getter.
in AbstractDescriptorHelper at line line 99
$this
setOptionDescriptor(DescriptorInterface $optionDescriptor)
Option descriptor setter.
at line line 56
string
describe(AbstractCommand $command)
Describe a command detail.