PHP Class Symfony\Component\Console\Descriptor\JsonDescriptor

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

Méthodes protégées

Méthode 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

Méthode 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 méthode

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

describeCommand() protected méthode

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

describeInputArgument() protected méthode

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

describeInputDefinition() protected méthode

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

describeInputOption() protected méthode

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