PHP Class Symfony\Component\Console\Descriptor\JsonDescriptor

Author: Jean-François Simon ([email protected])
Inheritance: extends Symfony\Component\Console\Descriptor\Descriptor
Datei anzeigen Open project: symfony/symfony Class Usage Examples

Protected Methods

Method Description
describeApplication ( Application $application, array $options = [] )
describeCommand ( Command $command, array $options = [] )
describeInputArgument ( Symfony\Component\Console\Input\InputArgument $argument, array $options = [] )
describeInputDefinition ( Symfony\Component\Console\Input\InputDefinition $definition, array $options = [] )
describeInputOption ( Symfony\Component\Console\Input\InputOption $option, array $options = [] )

Private Methods

Method Description
getCommandData ( Command $command ) : array
getInputArgumentData ( Symfony\Component\Console\Input\InputArgument $argument ) : array
getInputDefinitionData ( Symfony\Component\Console\Input\InputDefinition $definition ) : array
getInputOptionData ( Symfony\Component\Console\Input\InputOption $option ) : array
writeData ( array $data, array $options ) : array | string Writes data as json.

Method Details

describeApplication() protected method

protected describeApplication ( Application $application, array $options = [] )
$application Symfony\Component\Console\Application
$options array

describeCommand() protected method

protected describeCommand ( Command $command, array $options = [] )
$command Symfony\Component\Console\Command\Command
$options array

describeInputArgument() protected method

protected describeInputArgument ( Symfony\Component\Console\Input\InputArgument $argument, array $options = [] )
$argument Symfony\Component\Console\Input\InputArgument
$options array

describeInputDefinition() protected method

protected describeInputDefinition ( Symfony\Component\Console\Input\InputDefinition $definition, array $options = [] )
$definition Symfony\Component\Console\Input\InputDefinition
$options array

describeInputOption() protected method

protected describeInputOption ( Symfony\Component\Console\Input\InputOption $option, array $options = [] )
$option Symfony\Component\Console\Input\InputOption
$options array