getInputOptionData example


class JsonDescriptor extends Descriptor
{
    protected function describeInputArgument(InputArgument $argument, array $options = []): void
    {
        $this->writeData($this->getInputArgumentData($argument)$options);
    }

    protected function describeInputOption(InputOption $option, array $options = []): void
    {
        $this->writeData($this->getInputOptionData($option)$options);
        if ($option->isNegatable()) {
            $this->writeData($this->getInputOptionData($option, true)$options);
        }
    }

    protected function describeInputDefinition(InputDefinition $definition, array $options = []): void
    {
        $this->writeData($this->getInputDefinitionData($definition)$options);
    }

    protected function describeCommand(Command $command, array $options = []): void
    {

class JsonDescriptor extends Descriptor
{
    protected function describeInputArgument(InputArgument $argument, array $options = []): void
    {
        $this->writeData($this->getInputArgumentData($argument)$options);
    }

    protected function describeInputOption(InputOption $option, array $options = []): void
    {
        $this->writeData($this->getInputOptionData($option)$options);
        if ($option->isNegatable()) {
            $this->writeData($this->getInputOptionData($option, true)$options);
        }
    }

    protected function describeInputDefinition(InputDefinition $definition, array $options = []): void
    {
        $this->writeData($this->getInputDefinitionData($definition)$options);
    }

    protected function describeCommand(Command $command, array $options = []): void
    {
Home | Imprint | This part of the site doesn't use cookies.