$builder
$builder : \phpDocumentor\Descriptor\ProjectDescriptorBuilder
Transforms the structure file into the specified output format
This task will execute the transformation rules described in the given template (defaults to 'responsive') with the given source (defaults to output/structure.xml) and writes these to the target location (defaults to 'output').
It is possible for the user to receive additional information using the verbose option or stop additional information using the quiet option. Please take note that the quiet option also disables logging to file.
$builder : \phpDocumentor\Descriptor\ProjectDescriptorBuilder
$transformer : \phpDocumentor\Transformer\Transformer
$compiler : \phpDocumentor\Compiler\Compiler
__construct(\phpDocumentor\Descriptor\ProjectDescriptorBuilder $builder, \phpDocumentor\Transformer\Transformer $transformer, \phpDocumentor\Compiler\Compiler $compiler)
Initializes the command with all necessary dependencies to construct human-suitable output from the AST.
\phpDocumentor\Descriptor\ProjectDescriptorBuilder | $builder | |
\phpDocumentor\Transformer\Transformer | $transformer | |
\phpDocumentor\Compiler\Compiler | $compiler |
getBuilder() : \phpDocumentor\Descriptor\ProjectDescriptorBuilder
Returns the builder object containing the AST and other meta-data.
getTransformer() : \phpDocumentor\Transformer\Transformer
Returns the transformer used to guide the transformation process from AST to output.
loadTransformations(\phpDocumentor\Transformer\Transformer $transformer) : void
Load custom defined transformations.
\phpDocumentor\Transformer\Transformer | $transformer |
getProgressBar(\Symfony\Component\Console\Input\InputInterface $input) : \Symfony\Component\Console\Helper\HelperInterface|null
Adds the transformer.transformation.post event to advance the progressbar.
With this helper it is possible to display a progress bar and make it fill.
\Symfony\Component\Console\Input\InputInterface | $input |
execute(\Symfony\Component\Console\Input\InputInterface $input, \Symfony\Component\Console\Output\OutputInterface $output) : integer
Executes the business logic involved with this command.
\Symfony\Component\Console\Input\InputInterface | $input | |
\Symfony\Component\Console\Output\OutputInterface | $output |
if the provided source is not an existing file or a folder.
createTransformation(array $transformations) : \phpDocumentor\Transformer\Transformation
Create Transformation instance.
array | $transformations |
appendReceivedTransformations(\phpDocumentor\Transformer\Transformer $transformer, array $received) : void
Append received transformations.
\phpDocumentor\Transformer\Transformer | $transformer | |
array | $received |