class AbstractDescriptorHelper implements DescriptorHelperInterface (View source)

A descriptor helper to get different descriptor and render it.

Methods

__construct(DescriptorInterface $CommandDescriptor = null, DescriptorInterface $optionDescriptor = null)

The class constructor.

getCommandDescriptor()

Command descriptor getter.

$this
setCommandDescriptor(DescriptorInterface $CommandDescriptor)

Command descriptor setter.

getOptionDescriptor()

Option descriptor getter.

$this
setOptionDescriptor(DescriptorInterface $optionDescriptor)

Option descriptor setter.

Details

at line line 44
__construct(DescriptorInterface $CommandDescriptor = null, DescriptorInterface $optionDescriptor = null)

The class constructor.

Parameters

DescriptorInterface $CommandDescriptor Command descriptor.
DescriptorInterface $optionDescriptor Option descriptor.

at line line 57
DescriptorInterface getCommandDescriptor()

Command descriptor getter.

Return Value

DescriptorInterface

at line line 71
$this setCommandDescriptor(DescriptorInterface $CommandDescriptor)

Command descriptor setter.

Parameters

DescriptorInterface $CommandDescriptor Command descriptor.

Return Value

$this Support chaining.

at line line 85
DescriptorInterface getOptionDescriptor()

Option descriptor getter.

Return Value

DescriptorInterface

at line line 99
$this setOptionDescriptor(DescriptorInterface $optionDescriptor)

Option descriptor setter.

Parameters

DescriptorInterface $optionDescriptor Option descriptor.

Return Value

$this Support chaining.