DevTools
Wraps the fast-forward console tooling suite conceptually as an isolated application instance.
Description
Extending the base application, it MUST provide default command injections safely.
Properties
Methods
Initializes the DevTools global context and dependency graph.
Retrieves the default set of commands provided by the Symfony Application.
Initializes the DevTools global context and dependency graph.
public
__construct(CommandLoaderInterface
$commandLoader) : mixed
Description
The method MUST define default configurations and MAY accept an explicit command provider.
It SHALL instruct the runner to treat the standards command generically as its default endpoint.
Parameters
$commandLoader
:
CommandLoaderInterface
Description
the command loader responsible for providing command instances
Create DevTools instance from container.
public
static
create() : DevTools
Return values
Retrieves the default set of commands provided by the Symfony Application.
protected
getDefaultCommands() : array<string|int, mixed>
Description
The method SHOULD NOT add composer-specific commands to the list, as they are handled separately by composer when loaded as a plugin.