/** * Returns and configures the converter for this operation. * * This method overrides the parent getConverter method and invokes the * configureConverterFromInputOptions() method to set the options coming * from the Input object. * * @param InputInterface $input * * @see BaseConvertCommand::getConverter() for the basic functionality. * * @return \phpDocumentor\Plugin\Scrybe\Converter\ConverterInterface */ protected function getConverter(InputInterface $input) { /** @var ToLatexInterface $converter */ $converter = parent::getConverter($input); $this->configureConverterFromInputOptions($converter, $input); return $converter; }
/** * Defines the name and description for this command and inherits the * behaviour of the parent configure. * * @see ConvertCommandAbstract::configure() for the common business rules. * * @return void */ protected function configure() { parent::configure(); $this->setName('manual:to-html'); $this->setDescription('Generates reference documentation as HTML files'); }