DevTools

Class
extends Application
Final: Yes

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.

Table of Contents

Properties

 : ContainerInterface

Methods

__construct()

Initializes the DevTools global context and dependency graph.

 : mixed
create()

Create DevTools instance from container.

 : DevTools
getDefaultCommands()

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

 : array<string|int, mixed>
Properties

$container

Private Static
private static ContainerInterface $container = null

Description

holds the static container instance for global access within the DevTools context

Methods

__construct()

Public

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()

Public Static

Create DevTools instance from container.

public static create() : DevTools
Return values

getDefaultCommands()

Protected

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.

Attributes
#[Override]
Return values
array<string|int, mixed>