Свойство | Тип | Описание | |
---|---|---|---|
$app | Illuminate\Contracts\Foundation\Application | ||
$dispatcher | Illuminate\Contracts\Events\Dispatcher | ||
$filesystem | Illuminate\Filesystem\Filesystem | ||
$option | |||
$plugins |
Метод | Описание | |
---|---|---|
__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. |
Метод | Описание | |
---|---|---|
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 | ||
Результат | array |
public getEnabledBootstrappers ( ) : |
||
Результат |
public getEnabledPlugins ( ) : |
||
Результат |
public getPlugins ( ) : |
||
Результат |
protected getPluginsDir ( ) : string | ||
Результат | string |
protected setEnabled ( array $enabled ) | ||
$enabled | array |
protected Application,Illuminate\Contracts\Foundation $app | ||
Результат | Illuminate\Contracts\Foundation\Application |
protected Dispatcher,Illuminate\Contracts\Events $dispatcher | ||
Результат | Illuminate\Contracts\Events\Dispatcher |
protected Filesystem,Illuminate\Filesystem $filesystem | ||
Результат | Illuminate\Filesystem\Filesystem |
protected OptionRepository,App\Services\Repositories $option | ||
Результат |
protected Collection,Illuminate\Support|null $plugins | ||
Результат |