Skip to content

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

Methods

__construct

Initializes the DevTools global context and dependency graph.

public __construct(\Symfony\Component\Console\CommandLoader\CommandLoaderInterface $commandLoader): mixed

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:

Parameter Type Description
$commandLoader \Symfony\Component\Console\CommandLoader\CommandLoaderInterface the command loader responsible for providing command instances

create

Create DevTools instance from container.

public static create(): \FastForward\DevTools\Console\DevTools
  • This method is static.

getDefaultCommands

Retrieves the default set of commands provided by the Symfony Application.

protected getDefaultCommands(): array

The method SHOULD NOT add composer-specific commands to the list, as they are handled separately by composer when loaded as a plugin.


Clone this wiki locally