Method |
Description |
|
all ( ) : Collection |
Get all modules. |
|
count ( ) : integer |
Returns a count of all modules. |
|
disable ( string $slug ) : boolean |
Disables the specified module. |
|
disabled ( ) : Collection |
Get all disabled modules. |
|
enable ( string $slug ) : boolean |
Enables the specified module. |
|
enabled ( ) : Collection |
Get all enabled modules. |
|
exists ( string $slug ) : boolean |
Determines if the given module exists. |
|
get ( string $property, mixed | null $default = null ) : mixed | null |
Returns the given module property. |
|
getManifest ( string $slug ) : Collection |
Returns the modules defined manifest properties. |
|
isDisabled ( string $slug ) : boolean |
Determines if the specified module is disabled. |
|
isEnabled ( string $slug ) : boolean |
Determines if the specified module is enabled. |
|
optimize ( ) : boolean |
Get all module manifest properties and store
in the respective container. |
|
set ( string $property, mixed $value ) : boolean |
Set the given module property value. |
|
slugs ( ) : Collection |
Get all module slugs. |
|
sortBy ( string $key ) : Collection |
Sort modules by given key in ascending order. |
|
sortByDesc ( string $key ) : Collection |
Sort modules by given key in ascending order. |
|
where ( string $key, mixed $value ) : Collection |
Get modules based on where clause. |
|