DevToolsPluginInterface
Interface
extends
PluginInterface
Defines DevTools-specific Composer plugin conventions.
Constants
= ['_complete', 'about', 'archive', 'audit', 'browse', 'bump', 'cc', 'check-platform-reqs', 'clear-cache', 'clearcache', 'completion', 'config', 'create-project', 'depends', 'diagnose', 'dump-autoload', 'dumpautoload', 'exec', 'fund', 'global', 'help', 'home', 'i', 'info', 'init', 'install', 'licenses', 'list', 'outdated', 'prohibits', 'r', 'reinstall', 'remove', 'repo', 'repository', 'require', 'rm', 'run', 'run-script', 'search', 'self-update', 'selfupdate', 'show', 'status', 'suggests', 'u', 'uninstall', 'update', 'upgrade', 'validate', 'why', 'why-not']
Methods
isRegisteredCommand()
: bool
Detects whether a command name or alias is already registered in Composer's command surface.
Constants
public
array<int, string>
COMPOSER_COMMAND_NAMES
=
['_complete', 'about', 'archive', 'audit', 'browse', 'bump', 'cc', 'check-platform-reqs', 'clear-cache', 'clearcache', 'completion', 'config', 'create-project', 'depends', 'diagnose', 'dump-autoload', 'dumpautoload', 'exec', 'fund', 'global', 'help', 'home', 'i', 'info', 'init', 'install', 'licenses', 'list', 'outdated', 'prohibits', 'r', 'reinstall', 'remove', 'repo', 'repository', 'require', 'rm', 'run', 'run-script', 'search', 'self-update', 'selfupdate', 'show', 'status', 'suggests', 'u', 'uninstall', 'update', 'upgrade', 'validate', 'why', 'why-not']
Description
composer command names and aliases that DevTools MUST NOT override
Methods