Class Command.

Implementation about a command definition.

 Methods

Create a new instance.

__construct() 

{@inheritdoc}

getDescription() 

{@inheritdoc}

getExtra() 

{@inheritdoc}

getLabel() 

{@inheritdoc}

getName() 

{@inheritdoc}

getParameters() 

{@inheritdoc}

isDisabled() 

{@inheritdoc}

setDescription($description) 

Parameters

$description

{@inheritdoc}

setDisabled($disabled) 

Parameters

$disabled

{@inheritdoc}

setExtra(\ArrayObject $extra) 

Parameters

$extra

{@inheritdoc}

setLabel($label) 

Parameters

$label

{@inheritdoc}

setName($name) 

Parameters

$name

{@inheritdoc}

setParameters(\ArrayObject $parameters) 

Parameters

$parameters

 Properties

 

The description text for the command.

$description : string
 

Flag if the command is disabled or not.

$disabled : bool
 

The extra data for the command.

$extra : \ArrayObject
 

The label string for the command.

$label : string
 

Name of the command.

$name : string
 

The parameters for the command.

$parameters : \ArrayObject