PHP Class Backend\ModulesController

Inheritance: extends backend\AdminController
Datei anzeigen Open project: doptor/doptor

Public Methods

Method Description
__construct ( ModuleInstaller $moduleInstaller )
getDelete ( integer $id ) : Illuminate\Http\RedirectResponse Remove the specified resource from storage.
getIndex ( ) Display a listing of the installed modules.
getInstall ( ) Show the menu for creating a new installed module.
postInstall ( ) Store a newly created installed module in storage.

Private Methods

Method Description
revertMigrations ( Object $module ) Revert the migrations and database tables created by the module

Method Details

__construct() public method

public __construct ( ModuleInstaller $moduleInstaller )
$moduleInstaller Services\ModuleInstaller

getDelete() public method

Remove the specified resource from storage.
public getDelete ( integer $id ) : Illuminate\Http\RedirectResponse
$id integer
return Illuminate\Http\RedirectResponse

getIndex() public method

Display a listing of the installed modules.
public getIndex ( )

getInstall() public method

Show the menu for creating a new installed module.
public getInstall ( )

postInstall() public method

Store a newly created installed module in storage.
public postInstall ( )