Property | Type | Description | |
---|---|---|---|
$app | Illuminate\Contracts\Foundation\Application | ||
$dispatcher | Illuminate\Contracts\Events\Dispatcher | ||
$filesystem | Illuminate\Filesystem\Filesystem | ||
$option | |||
$plugins |
Method | Description | |
---|---|---|
__construct ( Illuminate\Contracts\Foundation\Application $app, |
||
disable ( string $name ) | Disables an plugin. | |
enable ( string $name ) | Enables the plugin. | |
getEnabled ( ) : array | The id's of the enabled plugins. | |
getEnabledBootstrappers ( ) : |
Loads all bootstrap.php files of the enabled plugins. | |
getEnabledPlugins ( ) : |
Get only enabled plugins. | |
getPlugin ( string $name ) : |
Loads an Plugin with all information. | |
getPlugins ( ) : |
||
isEnabled ( $plugin ) : boolean | Whether the plugin is enabled. | |
uninstall ( string $name ) | Uninstalls an plugin. |
Method | Description | |
---|---|---|
getPluginsDir ( ) : string | The plugins path. | |
setEnabled ( array $enabled ) | Persist the currently enabled plugins. |
public __construct ( Illuminate\Contracts\Foundation\Application $app, |
||
$app | Illuminate\Contracts\Foundation\Application | |
$option | ||
$dispatcher | Illuminate\Contracts\Events\Dispatcher | |
$filesystem | Illuminate\Filesystem\Filesystem |
public getEnabled ( ) : array | ||
return | array |
public getEnabledBootstrappers ( ) : |
||
return |
public getEnabledPlugins ( ) : |
||
return |
protected getPluginsDir ( ) : string | ||
return | string |
protected setEnabled ( array $enabled ) | ||
$enabled | array |
protected Application,Illuminate\Contracts\Foundation $app | ||
return | Illuminate\Contracts\Foundation\Application |
protected Dispatcher,Illuminate\Contracts\Events $dispatcher | ||
return | Illuminate\Contracts\Events\Dispatcher |
protected Filesystem,Illuminate\Filesystem $filesystem | ||
return | Illuminate\Filesystem\Filesystem |
protected OptionRepository,App\Services\Repositories $option | ||
return |
protected Collection,Illuminate\Support|null $plugins | ||
return |