PHP 인터페이스 Nwidart\Modules\Contracts\RepositoryInterface

파일 보기 프로젝트 열기: nwidart/laravel-modules

공개 메소드들

메소드 설명
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