$converterFactory
$converterFactory : \phpDocumentor\Plugin\Scrybe\Converter\Factory
Command used to tell the application to convert from a format to Latex.
Includes additional methods to forward the output to the logging events of phpDocumentor.
$converterFactory : \phpDocumentor\Plugin\Scrybe\Converter\Factory
$templateFactory : \phpDocumentor\Plugin\Scrybe\Template\Factory
__construct(string $name, \phpDocumentor\Plugin\Scrybe\Template\Factory $templateFactory, \phpDocumentor\Plugin\Scrybe\Converter\Factory $converterFactory)
Initializes this command with a template and converter factory.
| string | $name | |
| \phpDocumentor\Plugin\Scrybe\Template\Factory | $templateFactory | |
| \phpDocumentor\Plugin\Scrybe\Converter\Factory | $converterFactory |
getConverterFactory() : \phpDocumentor\Plugin\Scrybe\Converter\Factory
Returns the factory for converters.
execute(\Symfony\Component\Console\Input\InputInterface $input, \Symfony\Component\Console\Output\OutputInterface $output) : integer
Execute the transformation process to an output format as defined in the $output_format class variable.
| \Symfony\Component\Console\Input\InputInterface | $input | |
| \Symfony\Component\Console\Output\OutputInterface | $output |
getTemplate(\Symfony\Component\Console\Input\InputInterface $input) : \phpDocumentor\Plugin\Scrybe\Template\TemplateInterface
Returns a template object based off the human-readable template name.
| \Symfony\Component\Console\Input\InputInterface | $input |
getConverter(\Symfony\Component\Console\Input\InputInterface $input) : \phpDocumentor\Plugin\Scrybe\Converter\ConverterInterface
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.
| \Symfony\Component\Console\Input\InputInterface | $input |
buildCollection(array $sources, array $extensions) : \phpDocumentor\Fileset\Collection
Constructs a Fileset collection and returns that.
| array | $sources | List of source paths. |
| array | $extensions | List of extensions to scan for in directories. |
getTemplateFactory() : \phpDocumentor\Plugin\Scrybe\Template\Factory
Returns a factory object that can return any Scrybe template.
getProgressBar(\Symfony\Component\Console\Input\InputInterface $input) : \Symfony\Component\Console\Helper\ProgressHelper
Returns the Progress bar helper.
With this helper it is possible to display a progress bar and make it fill.
| \Symfony\Component\Console\Input\InputInterface | $input |
configureConverterFromInputOptions(\phpDocumentor\Plugin\Scrybe\Converter\ToLatexInterface $converter, \Symfony\Component\Console\Input\InputInterface $input) : void
Configures the converter with the options provided by the Input options.
| \phpDocumentor\Plugin\Scrybe\Converter\ToLatexInterface | $converter | |
| \Symfony\Component\Console\Input\InputInterface | $input |
if the provided converter is not derived from ToLatexInterface