PHP 클래스 App\Http\Controllers\Backend\RoleController

상속: extends BaseController
파일 보기 프로젝트 열기: qloog/laravel5-backend

보호된 프로퍼티들

프로퍼티 타입 설명
$permissions App\Contracts\Repositories\PermissionRepository
$roles App\Contracts\Repositories\RoleRepository

공개 메소드들

메소드 설명
__construct ( App\Contracts\Repositories\RoleRepository $roles, App\Contracts\Repositories\PermissionRepository $permissions )
create ( ) : Illuminate\Http\Response Show the form for creating a new resource.
destroy ( integer $id ) : Illuminate\Http\Response Remove the specified resource from storage.
edit ( integer $id ) : Illuminate\Http\Response Show the form for editing the specified resource.
index ( ) : Illuminate\Http\Response Display a listing of the resource.
show ( integer $id ) : Illuminate\Http\Response Display the specified resource.
store ( Illuminate\Http\Request $request ) : Illuminate\Http\Response Store a newly created resource in storage.
update ( integer $id, Illuminate\Http\Request $request ) : Illuminate\Http\Response Update the specified resource in storage.

메소드 상세

__construct() 공개 메소드

public __construct ( App\Contracts\Repositories\RoleRepository $roles, App\Contracts\Repositories\PermissionRepository $permissions )
$roles App\Contracts\Repositories\RoleRepository
$permissions App\Contracts\Repositories\PermissionRepository

create() 공개 메소드

Show the form for creating a new resource.
public create ( ) : Illuminate\Http\Response
리턴 Illuminate\Http\Response

destroy() 공개 메소드

Remove the specified resource from storage.
public destroy ( integer $id ) : Illuminate\Http\Response
$id integer
리턴 Illuminate\Http\Response

edit() 공개 메소드

Show the form for editing the specified resource.
public edit ( integer $id ) : Illuminate\Http\Response
$id integer
리턴 Illuminate\Http\Response

index() 공개 메소드

Display a listing of the resource.
public index ( ) : Illuminate\Http\Response
리턴 Illuminate\Http\Response

show() 공개 메소드

Display the specified resource.
public show ( integer $id ) : Illuminate\Http\Response
$id integer
리턴 Illuminate\Http\Response

store() 공개 메소드

Store a newly created resource in storage.
public store ( Illuminate\Http\Request $request ) : Illuminate\Http\Response
$request Illuminate\Http\Request
리턴 Illuminate\Http\Response

update() 공개 메소드

Update the specified resource in storage.
public update ( integer $id, Illuminate\Http\Request $request ) : Illuminate\Http\Response
$id integer
$request Illuminate\Http\Request
리턴 Illuminate\Http\Response

프로퍼티 상세

$permissions 보호되어 있는 프로퍼티

protected PermissionRepository,App\Contracts\Repositories $permissions
리턴 App\Contracts\Repositories\PermissionRepository

$roles 보호되어 있는 프로퍼티

protected RoleRepository,App\Contracts\Repositories $roles
리턴 App\Contracts\Repositories\RoleRepository