interface ModuleRepositoryInterface

Methods

all()

Return all modules in the database.

bool
create( Module $module)

Create a module record.

delete( Module $module)

Delete a module record.

bool
install( Module $module)

Mark a module as installed.

bool
uninstall( Module $module)

Mark a module as uninstalled.

bool
disable( Module $module)

Mark a module as disabled.

bool
enabled( Module $module)

Mark a module as enabled.

Details

at line 16
EloquentCollection all()

Return all modules in the database.

Return Value

EloquentCollection

at line 25
bool create( Module $module)

Create a module record.

Parameters

Module $module

Return Value

bool

at line 34
ModuleModel delete( Module $module)

Delete a module record.

Parameters

Module $module

Return Value

ModuleModel

at line 43
bool install( Module $module)

Mark a module as installed.

Parameters

Module $module

Return Value

bool

at line 52
bool uninstall( Module $module)

Mark a module as uninstalled.

Parameters

Module $module

Return Value

bool

at line 61
bool disable( Module $module)

Mark a module as disabled.

Parameters

Module $module

Return Value

bool

at line 70
bool enabled( Module $module)

Mark a module as enabled.

Parameters

Module $module

Return Value

bool