PhpBench\Extensions\XDebug\Command\Handler\OutputDirHandler::configure PHP Method

configure() public static method

public static configure ( Command $command )
$command Symfony\Component\Console\Command\Command
    public static function configure(Command $command)
    {
        $command->addOption('outdir', null, InputOption::VALUE_REQUIRED, 'Output directory');
    }

Usage Example

Beispiel #1
0
    public function configure()
    {
        $this->setName('xdebug:profile');
        $this->setDescription(<<<'EOT'
Generate and optionally visulaize profiles with XDebug
EOT
);
        RunnerHandler::configure($this);
        OutputDirHandler::configure($this);
        $this->addOption('gui', null, InputOption::VALUE_NONE);
        $this->addOption('gui-bin', null, InputOption::VALUE_REQUIRED, 'Bin to use to display cachegrind output', 'kcachegrind');
    }
All Usage Examples Of PhpBench\Extensions\XDebug\Command\Handler\OutputDirHandler::configure