Метод |
Описание |
|
__construct ( Illuminate\Foundation\Application $app, string | null $path = null ) |
The constructor. |
|
active ( string $name ) : boolean |
Determine whether the given module is activated. |
|
addLocation ( string $path ) |
Add other module location. |
|
addPath ( string $path ) |
Alternative method for "addPath". |
|
all ( ) : array |
Get all modules. |
|
asset ( string $asset ) : string |
Get asset url from a specific module. |
|
assetPath ( $module ) : string |
Get asset path for a specific module. |
|
boot ( ) |
Boot the modules. |
|
collections ( ) : Collection |
Get all modules as laravel collection instance. |
|
config ( $key, null $default = null ) : mixed |
Get a specific config data from a configuration file. |
|
count ( ) : integer |
Get count from all modules. |
|
delete ( string $name ) : boolean |
Delete a specific module. |
|
disable ( string $name ) : boolean |
Disabling a specific module. |
|
disabled ( ) : array |
Get list of disabled modules. |
|
enable ( string $name ) : boolean |
Enabling a specific module. |
|
enabled ( ) : array |
Get list of enabled modules. |
|
find ( $name ) : mixed | void |
Find a specific module. |
|
findOrFail ( $name ) : Module |
Find a specific module, if there return that, otherwise throw exception. |
|
get ( $name ) : mixed | void |
Alternative for "find" method. |
|
getAssetsPath ( ) : string |
Get module assets path. |
|
getByStatus ( $status ) : array |
Get modules by status. |
|
getCached ( ) : array |
Get cached modules. |
|
getFiles ( ) : Illuminate\Filesystem\Filesystem |
Get laravel filesystem instance. |
|
getModulePath ( $module ) : string |
Get module path for a specific module. |
|
getOrdered ( string $direction = 'asc' ) : array |
Get all ordered modules. |
|
getPath ( ) : string |
Get a module path. |
|
getPaths ( ) : array |
Get all additional paths. |
|
getScanPaths ( ) : array |
Get scanned modules paths. |
|
getStubPath ( ) : string |
Get stub path. |
|
getUsed ( ) : string |
Get used now. |
|
getUsedNow ( ) : string |
Get module used for cli session. |
|
getUsedStoragePath ( ) : string |
Get storage path for module used. |
|
has ( $name ) : boolean |
Determine whether the given module exist. |
|
install ( string $name, string $version = 'dev-master', string $type = 'composer', boolean $subtree = false ) : Process |
Install the specified module. |
|
notActive ( string $name ) : boolean |
Determine whether the given module is not activated. |
|
register ( ) |
Register the modules. |
|
scan ( ) : array |
Get & scan all modules. |
|
setStubPath ( string $stubPath ) |
Set stub path. |
|
setUsed ( $name ) |
Set module used for cli session. |
|
toCollection ( ) : Collection |
Get all modules as collection instance. |
|
update ( string $module ) |
Update dependencies for the specified module. |
|