-
-
Notifications
You must be signed in to change notification settings - Fork 0
DevTools
github-actions edited this page Apr 13, 2026
·
1 revision
Wraps the fast-forward console tooling suite conceptually as an isolated application instance.
Extending the base application, it MUST provide default command injections safely.
- Full name:
\FastForward\DevTools\Console\DevTools - Parent class:
Application - This class is marked as final and can't be subclassed
- This class is a Final class
Initializes the DevTools global context and dependency graph.
public __construct(\Symfony\Component\Console\CommandLoader\CommandLoaderInterface $commandLoader): mixedThe 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:
| Parameter | Type | Description |
|---|---|---|
$commandLoader |
\Symfony\Component\Console\CommandLoader\CommandLoaderInterface | the command loader responsible for providing command instances |
Create DevTools instance from container.
public static create(): \FastForward\DevTools\Console\DevTools- This method is static.
Retrieves the default set of commands provided by the Symfony Application.
protected getDefaultCommands(): arrayThe method SHOULD NOT add composer-specific commands to the list, as they are handled separately by composer when loaded as a plugin.