DevToolsCommandProvider
Class
implements
CommandProvider
Read only:
Yes
Final:
Yes
Provides a registry of custom dev-tools commands mapped for Composer integration.
Description
This capability struct MUST implement the defined CommandProvider.
Interfaces
Constants
= 'FastForward\DevTools\Console\Command'
Properties
: DevToolsPluginInterface|null
Methods
: mixed
getCommands()
: mixed
{@inheritDoc}
getComposerAliases()
: array<int, string>
Returns command aliases that may be safely exposed to Composer.
isRegisteredCommand()
: bool
Detects names already owned by Composer's active command surface.
Constants
private
DevToolsPluginInterface|null
$plugin
public
__construct([
array<string, mixed>
$constructorArguments = []]) : mixed
Parameters
$constructorArguments
:
array<string, mixed>
=
[]
Description
the Composer capability constructor arguments
{@inheritDoc}
public
getCommands() : mixed
Returns command aliases that may be safely exposed to Composer.
private
getComposerAliases(Command
$command) : array<int, string>
Parameters
$command
:
Command
Description
the Symfony command being proxied
Return values
array<int, string>
Detects names already owned by Composer's active command surface.
private
isRegisteredCommand(
string|null
$name) : bool
Parameters
$name
:
string|null
Description
the command name or alias being evaluated
Return values
bool