Skip to content

DevTools

github-actions edited this page Apr 26, 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

getHelp

Gets the help message for the DevTools application, including the ASCII logo.

public getHelp(): string

create

Create DevTools instance from container.

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

getContainer

Retrieves the shared DevTools service container.

public static getContainer(): \Psr\Container\ContainerInterface
  • This method is static.

Clone this wiki locally