PHP Class App\Console\Commands\PluginCommand

Author: XE Team (developers) ([email protected])
Inheritance: extends Illuminate\Console\Command, use trait ComposerRunTrait
Afficher le fichier Open project: xpressengine/xpressengine Class Usage Examples

Protected Properties

Свойство Type Description
$handler Xpressengine\Plugin\PluginHandler
$provider Xpressengine\Plugin\PluginProvider
$writer Xpressengine\Plugin\Composer\ComposerFileWriter

Méthodes protégées

Méthode Description
activatePlugin ( $pluginId ) : void activatePlugin
getChangedPlugins ( ComposerFileWriter $writer ) : array getChanged
init ( PluginHandler $handler, PluginProvider $provider, ComposerFileWriter $writer )
printChangedPlugins ( array $changed ) : void printChangedPlugins
updatePlugin ( $pluginId ) : void activatePlugin

Method Details

activatePlugin() protected méthode

activatePlugin
protected activatePlugin ( $pluginId ) : void
$pluginId
Résultat void

getChangedPlugins() protected méthode

getChanged
protected getChangedPlugins ( ComposerFileWriter $writer ) : array
$writer Xpressengine\Plugin\Composer\ComposerFileWriter
Résultat array

init() protected méthode

protected init ( PluginHandler $handler, PluginProvider $provider, ComposerFileWriter $writer )
$handler Xpressengine\Plugin\PluginHandler
$provider Xpressengine\Plugin\PluginProvider
$writer Xpressengine\Plugin\Composer\ComposerFileWriter

printChangedPlugins() protected méthode

printChangedPlugins
protected printChangedPlugins ( array $changed ) : void
$changed array
Résultat void

updatePlugin() protected méthode

activatePlugin
protected updatePlugin ( $pluginId ) : void
$pluginId
Résultat void

Property Details

$handler protected_oe property

protected PluginHandler,Xpressengine\Plugin $handler
Résultat Xpressengine\Plugin\PluginHandler

$provider protected_oe property

protected PluginProvider,Xpressengine\Plugin $provider
Résultat Xpressengine\Plugin\PluginProvider

$writer protected_oe property

protected ComposerFileWriter,Xpressengine\Plugin\Composer $writer
Résultat Xpressengine\Plugin\Composer\ComposerFileWriter