PHP 클래스 App\Http\Controllers\ClientController

상속: extends Controller
파일 보기 프로젝트 열기: hillelcoren/invoice-ninja 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$clientRepo
$clientService
$entityType

공개 메소드들

메소드 설명
__construct ( ClientRepository $clientRepo, ClientService $clientService )
bulk ( )
create ( App\Http\Requests\ClientRequest $request ) : Response Show the form for creating a new resource.
edit ( App\Http\Requests\ClientRequest $request ) : Response Show the form for editing the specified resource.
getDatatable ( )
index ( ) : Response Display a listing of the resource.
show ( App\Http\Requests\ClientRequest $request ) : Response Display the specified resource.
store ( App\Http\Requests\CreateClientRequest $request ) : Response Store a newly created resource in storage.
update ( App\Http\Requests\UpdateClientRequest $request ) : Response Update the specified resource in storage.

비공개 메소드들

메소드 설명
getViewModel ( )

메소드 상세

__construct() 공개 메소드

public __construct ( ClientRepository $clientRepo, ClientService $clientService )
$clientRepo App\Ninja\Repositories\ClientRepository
$clientService App\services\ClientService

bulk() 공개 메소드

public bulk ( )

create() 공개 메소드

Show the form for creating a new resource.
public create ( App\Http\Requests\ClientRequest $request ) : Response
$request App\Http\Requests\ClientRequest
리턴 Response

edit() 공개 메소드

Show the form for editing the specified resource.
public edit ( App\Http\Requests\ClientRequest $request ) : Response
$request App\Http\Requests\ClientRequest
리턴 Response

getDatatable() 공개 메소드

public getDatatable ( )

index() 공개 메소드

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

show() 공개 메소드

Display the specified resource.
public show ( App\Http\Requests\ClientRequest $request ) : Response
$request App\Http\Requests\ClientRequest
리턴 Response

store() 공개 메소드

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

update() 공개 메소드

Update the specified resource in storage.
public update ( App\Http\Requests\UpdateClientRequest $request ) : Response
$request App\Http\Requests\UpdateClientRequest
리턴 Response

프로퍼티 상세

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

protected $clientRepo

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

protected $clientService

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

protected $entityType