PHP Interface Nwidart\Modules\Contracts\RepositoryInterface

Afficher le fichier Open project: nwidart/laravel-modules

Méthodes publiques

Méthode Description
all ( ) : mixed Get all modules.
count ( ) : integer Get count from all modules.
disabled ( ) : mixed Get list of disabled modules.
enabled ( ) : mixed Get list of enabled modules.
find ( $name ) : mixed Find a specific module.
findOrFail ( $name ) : mixed Find a specific module. If there return that, otherwise throw exception.
getByStatus ( integer $status ) : mixed Get modules by the given status.
getCached ( ) : array Get cached modules.
getOrdered ( ) : mixed Get all ordered modules.
getScanPaths ( ) : array Get scanned paths.
scan ( ) : array Scan & get all available modules.
toCollection ( ) : Collection Get modules as modules collection instance.

Method Details

all() public méthode

Get all modules.
public all ( ) : mixed
Résultat mixed

count() public méthode

Get count from all modules.
public count ( ) : integer
Résultat integer

disabled() public méthode

Get list of disabled modules.
public disabled ( ) : mixed
Résultat mixed

enabled() public méthode

Get list of enabled modules.
public enabled ( ) : mixed
Résultat mixed

find() public méthode

Find a specific module.
public find ( $name ) : mixed
$name
Résultat mixed

findOrFail() public méthode

Find a specific module. If there return that, otherwise throw exception.
public findOrFail ( $name ) : mixed
$name
Résultat mixed

getByStatus() public méthode

Get modules by the given status.
public getByStatus ( integer $status ) : mixed
$status integer
Résultat mixed

getCached() public méthode

Get cached modules.
public getCached ( ) : array
Résultat array

getOrdered() public méthode

Get all ordered modules.
public getOrdered ( ) : mixed
Résultat mixed

getScanPaths() public méthode

Get scanned paths.
public getScanPaths ( ) : array
Résultat array

scan() public méthode

Scan & get all available modules.
public scan ( ) : array
Résultat array

toCollection() public méthode

Get modules as modules collection instance.
public toCollection ( ) : Collection
Résultat Nwidart\Modules\Collection