protected function configureConverterFromInputOptions($converter, $input)
    {
        if (!$converter instanceof ToLatexInterface) {
            throw new \InvalidArgumentException(
                'The converter used to process '
                . $input->getOption('input-format') . ' should implement the '
                . 'phpDocumentor\Plugin\Scrybe\Converter\ToPdfInterface'
            );
        }

        $converter->setTitle($input->getOption('title'));
        $converter->setAuthor($input->getOption('author'));
        $converter->setCoverLogo($input->getOption('cover-logo'));
        $converter->setTableOfContents($input->getOption('toc') !== 'false');
    }
protected function configureConverterFromInputOptions($converter, $input)
    {
        if (!$converter instanceof ToLatexInterface) {
            throw new \InvalidArgumentException(
                'The converter used to process '
                . $input->getOption('input-format') . ' should implement the '
                . 'phpDocumentor\Plugin\Scrybe\Converter\ToPdfInterface'
            );
        }

        $converter->setTitle($input->getOption('title'));
        $converter->setAuthor($input->getOption('author'));
        $converter->setCoverLogo($input->getOption('cover-logo'));
        $converter->setTableOfContents($input->getOption('toc') !== 'false');
    }
protected function configureConverterFromInputOptions ( $ converter , $ input ) { if ( ! $ converter instanceof ToLatexInterface ) { throw new \ InvalidArgumentException ( 'The converter used to process ' . $ input -> getOption ( 'input-format' ) . ' should implement the ' . 'phpDocumentor\Plugin\Scrybe\Converter\ToPdfInterface' ) ; } $ converter -> setTitle ( $ input -> getOption ( 'title' ) ) ; $ converter -> setAuthor ( $ input -> getOption ( 'author' ) ) ; $ converter -> setCoverLogo ( $ input -> getOption ( 'cover-logo' ) ) ; $ converter -> setTableOfContents ( $ input -> getOption ( 'toc' ) !== 'false' ) ; }
Configures the converter with the options provided by the Input options.

@param ToLatexInterface $converter
@param InputInterface   $input

@throws \InvalidArgumentException if the provided converter is not derived
from ToLatexInterface
Configures the converter with the options provided by the Input options .