HasPluginArgument
Console Command Trait that provides autocompletion for the "plugin" argument
trait System\Console\Traits\HasPluginArgument
Methods
public
getPlugin ($identifier = null
)
: System\Classes\PluginBase | null
Get the plugin instance for the input.
Parameters
Property | Type | Description |
---|---|---|
$identifier | mixed |
mixed
|
Returns
System\Classes\PluginBase | null
public
getPluginIdentifier ($identifier = null
)
: string
Get the desired plugin name from the input.
Parameters
Property | Type | Description |
---|---|---|
$identifier | mixed |
mixed
|
Returns
string
public suggestPluginValues ()
Return available plugins for autocompletion of the "plugin" argument
Returns
mixed
Used by
Class | Description |
---|---|
BaseScaffoldCommand
|
|
CreateCommand
|
|
CreateJob
|
|
CreateMigration
|
Scaffolds a new migration file |
CreateModel
|
|
CreatePlugin
|
|
CreateSettings
|
|
CreateTest
|
|
PluginDisable
|
Console command to disable a plugin. |
PluginEnable
|
Console command to enable a plugin. |
PluginRefresh
|
Console command to refresh a plugin. |
PluginRemove
|
Console command to remove a plugin. |
PluginRollback
|
Console command to rollback a plugin. |
CreateController
|
|
CreateFormWidget
|
|
CreateReportWidget
|
|
CreateComponent
|
Copyright © 2024 Winter CMS