Transform
in package
Transforms the structure file into the specified output format
This task will execute the transformation rules described in the given template with the given source 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.
Properties
$transformer Line 52
private$transformer : \phpDocumentor\Transformer\Transformer
$compiler Line 55
private$compiler : \phpDocumentor\Compiler\Compiler
$logger Line 58
private$logger : \Psr\Log\LoggerInterface
$exampleFinder Line 61
private$exampleFinder : \phpDocumentor\Reflection\DocBlock\ExampleFinder
Methods
__construct() Line 66
Initializes the command with all necessary dependencies to construct human-suitable output from the AST.
public__construct(Transformer $transformer, Compiler $compiler, LoggerInterface $logger, ExampleFinder $exampleFinder) : mixed
Parameters
Returns
mixed —
__invoke() Line 85
Executes the business logic involved with this command.
public__invoke(Payload $payload) : Payload
connectOutputToEvents() Line 101
Connect a series of output messages to various events to display progress.
privateconnectOutputToEvents() : void