Documentation

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.

Table of Contents

$flySystemFactory  : FlySystemFactory
$logger  : LoggerInterface
$templateFactory  : Factory
$transformer  : Transformer
__construct()  : mixed
Initializes the command with all necessary dependencies to construct human-suitable output from the AST.
__invoke()  : Payload
Executes the business logic involved with this command.
connectOutputToEvents()  : void
Connect a series of output messages to various events to display progress.
createFileSystem()  : FilesystemInterface

Properties

$transformer

private Transformer $transformer

Principal object for guiding the transformation process

Methods

__invoke()

Executes the business logic involved with this command.

public __invoke(Payload $payload) : Payload
Parameters
$payload : Payload
Tags
throws
Exception

If the target location is not a folder.

Return values
Payload

connectOutputToEvents()

Connect a series of output messages to various events to display progress.

private connectOutputToEvents() : void
Return values
void

Search results