PHP Class App\services\UserService

Service class to work with users
Afficher le fichier Open project: hillelcoren/invoice-ninja Class Usage Examples

Protected Properties

Свойство Type Description
$datatableService DatatableService
$userRepo App\Ninja\Repositories\UserRepository

Méthodes publiques

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

Méthodes protégées

Méthode Description
getRepo ( ) : UserRepository

Method Details

__construct() public méthode

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

getDatatable() public méthode

public getDatatable ( $accountId ) : Illuminate\Http\JsonResponse
$accountId
Résultat Illuminate\Http\JsonResponse

getRepo() protected méthode

protected getRepo ( ) : UserRepository
Résultat App\Ninja\Repositories\UserRepository

Property Details

$datatableService protected_oe property

protected DatatableService,App\services $datatableService
Résultat DatatableService

$userRepo protected_oe property

protected UserRepository,App\Ninja\Repositories $userRepo
Résultat App\Ninja\Repositories\UserRepository