Skip to content

DevTools

github-actions edited this page Mar 25, 2026 · 2 revisions

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\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(\Composer\Plugin\Capability\CommandProvider|null $commandProvider = new \FastForward\DevTools\Composer\Capability\DevToolsCommandProvider()): 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
$commandProvider \Composer\Plugin\Capability\CommandProvider|null provides the execution references securely, defaults dynamically

getDefaultCommands

Aggregates default processes attached safely to the environment base lifecycle.

protected getDefaultCommands(): array<int,mixed>

The method MUST inject core operational constraints and external definitions seamlessly. It SHALL execute an overriding merge logically combining provider and utility features.

Return Value:

the collected list of functional commands configured to run


Clone this wiki locally