PHP Class App\services\UserService

Service class to work with users
显示文件 Open project: hillelcoren/invoice-ninja Class Usage Examples

Protected Properties

Property Type Description
$datatableService DatatableService
$userRepo App\Ninja\Repositories\UserRepository

Public Methods

Method Description
__construct ( UserRepository $userRepo, DatatableService $datatableService ) UserService constructor.
getDatatable ( $accountId ) : Illuminate\Http\JsonResponse

Protected Methods

Method Description
getRepo ( ) : UserRepository

Method Details

__construct() public method

UserService constructor.
public __construct ( UserRepository $userRepo, DatatableService $datatableService )
$userRepo App\Ninja\Repositories\UserRepository
$datatableService DatatableService

getDatatable() public method

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

getRepo() protected method

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

Property Details

$datatableService protected_oe property

protected DatatableService,App\services $datatableService
return DatatableService

$userRepo protected_oe property

protected UserRepository,App\Ninja\Repositories $userRepo
return App\Ninja\Repositories\UserRepository