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'); }
/** * {@inheritdoc} */ public function configure() { $this->setName('xdebug:trace'); $this->setDescription(<<<'EOT' Generate and optionally visulaize traces with XDebug EOT ); RunnerHandler::configure($this); OutputDirHandler::configure($this); $this->addOption('dump', null, InputOption::VALUE_NONE, 'Dump the raw trace XML'); $this->addOption('no-benchmark-filter', null, InputOption::VALUE_NONE, 'Do not filter functions surrounding the benchmark'); $this->addOption('trace-filter', null, InputOption::VALUE_REQUIRED, 'Regex function name filter'); $this->addOption('show-args', null, InputOption::VALUE_NONE, 'Show function arguments'); }