PHP Class App\services\TokenService

Inheritance: extends BaseService
Show file Open project: hillelcoren/invoice-ninja Class Usage Examples

Protected Properties

Property Type Description
$datatableService DatatableService
$tokenRepo App\Ninja\Repositories\TokenRepository

Public Methods

Method Description
__construct ( TokenRepository $tokenRepo, DatatableService $datatableService ) TokenService constructor.
getDatatable ( $userId ) : Illuminate\Http\JsonResponse

Protected Methods

Method Description
getRepo ( ) : TokenRepository

Method Details

__construct() public method

TokenService constructor.
public __construct ( TokenRepository $tokenRepo, DatatableService $datatableService )
$tokenRepo App\Ninja\Repositories\TokenRepository
$datatableService DatatableService

getDatatable() public method

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

getRepo() protected method

protected getRepo ( ) : TokenRepository
return App\Ninja\Repositories\TokenRepository

Property Details

$datatableService protected property

protected DatatableService,App\services $datatableService
return DatatableService

$tokenRepo protected property

protected TokenRepository,App\Ninja\Repositories $tokenRepo
return App\Ninja\Repositories\TokenRepository