PHP Class App\Http\Controllers\TokenController

Inheritance: extends BaseController
显示文件 Open project: hillelcoren/invoice-ninja Class Usage Examples

Protected Properties

Property Type Description
$tokenService App\services\TokenService

Public Methods

Method Description
__construct ( TokenService $tokenService ) TokenController constructor.
bulk ( ) : Illuminate\Http\RedirectResponse
create ( ) : Illuminate\Contracts\View\View
edit ( $publicId ) : Illuminate\Contracts\View\View
getDatatable ( ) : Illuminate\Http\JsonResponse
index ( ) : Illuminate\Http\RedirectResponse
save ( boolean $tokenPublicId = false )
store ( ) : Illuminate\Http\RedirectResponse
update ( $publicId ) : Illuminate\Http\RedirectResponse

Method Details

__construct() public method

TokenController constructor.
public __construct ( TokenService $tokenService )
$tokenService App\services\TokenService

bulk() public method

public bulk ( ) : Illuminate\Http\RedirectResponse
return Illuminate\Http\RedirectResponse

create() public method

public create ( ) : Illuminate\Contracts\View\View
return Illuminate\Contracts\View\View

edit() public method

public edit ( $publicId ) : Illuminate\Contracts\View\View
$publicId
return Illuminate\Contracts\View\View

getDatatable() public method

public getDatatable ( ) : Illuminate\Http\JsonResponse
return Illuminate\Http\JsonResponse

index() public method

public index ( ) : Illuminate\Http\RedirectResponse
return Illuminate\Http\RedirectResponse

save() public method

public save ( boolean $tokenPublicId = false )
$tokenPublicId boolean

store() public method

public store ( ) : Illuminate\Http\RedirectResponse
return Illuminate\Http\RedirectResponse

update() public method

public update ( $publicId ) : Illuminate\Http\RedirectResponse
$publicId
return Illuminate\Http\RedirectResponse

Property Details

$tokenService protected_oe property

protected TokenService,App\Services $tokenService
return App\services\TokenService