PHP Class App\Console\Commands\PluginCommand

Author: XE Team (developers) ([email protected])
Inheritance: extends Illuminate\Console\Command, use trait ComposerRunTrait
ファイルを表示 Open project: xpressengine/xpressengine Class Usage Examples

Protected Properties

Property Type Description
$handler Xpressengine\Plugin\PluginHandler
$provider Xpressengine\Plugin\PluginProvider
$writer Xpressengine\Plugin\Composer\ComposerFileWriter

Protected Methods

Method 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 method

activatePlugin
protected activatePlugin ( $pluginId ) : void
$pluginId
return void

getChangedPlugins() protected method

getChanged
protected getChangedPlugins ( ComposerFileWriter $writer ) : array
$writer Xpressengine\Plugin\Composer\ComposerFileWriter
return array

init() protected method

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

printChangedPlugins() protected method

printChangedPlugins
protected printChangedPlugins ( array $changed ) : void
$changed array
return void

updatePlugin() protected method

activatePlugin
protected updatePlugin ( $pluginId ) : void
$pluginId
return void

Property Details

$handler protected_oe property

protected PluginHandler,Xpressengine\Plugin $handler
return Xpressengine\Plugin\PluginHandler

$provider protected_oe property

protected PluginProvider,Xpressengine\Plugin $provider
return Xpressengine\Plugin\PluginProvider

$writer protected_oe property

protected ComposerFileWriter,Xpressengine\Plugin\Composer $writer
return Xpressengine\Plugin\Composer\ComposerFileWriter