PHP Интерфейс Nwidart\Modules\Contracts\RepositoryInterface

Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

all() публичный Метод

Get all modules.
public all ( ) : mixed
Результат mixed

count() публичный Метод

Get count from all modules.
public count ( ) : integer
Результат integer

disabled() публичный Метод

Get list of disabled modules.
public disabled ( ) : mixed
Результат mixed

enabled() публичный Метод

Get list of enabled modules.
public enabled ( ) : mixed
Результат mixed

find() публичный Метод

Find a specific module.
public find ( $name ) : mixed
$name
Результат mixed

findOrFail() публичный Метод

Find a specific module. If there return that, otherwise throw exception.
public findOrFail ( $name ) : mixed
$name
Результат mixed

getByStatus() публичный Метод

Get modules by the given status.
public getByStatus ( integer $status ) : mixed
$status integer
Результат mixed

getCached() публичный Метод

Get cached modules.
public getCached ( ) : array
Результат array

getOrdered() публичный Метод

Get all ordered modules.
public getOrdered ( ) : mixed
Результат mixed

getScanPaths() публичный Метод

Get scanned paths.
public getScanPaths ( ) : array
Результат array

scan() публичный Метод

Scan & get all available modules.
public scan ( ) : array
Результат array

toCollection() публичный Метод

Get modules as modules collection instance.
public toCollection ( ) : Collection
Результат Nwidart\Modules\Collection