PHP Class App\Http\Controllers\UserApiController

Inheritance: extends Controller
Afficher le fichier Open project: hillelcoren/invoice-ninja Class Usage Examples

Protected Properties

Свойство Type Description
$entityType
$userRepo
$userService

Méthodes publiques

Méthode Description
__construct ( UserService $userService, UserRepository $userRepo )
index ( )
update ( UpdateUserRequest $request, $userPublicId ) * public function store(CreateUserRequest $request) { return $this->save($request); }

Private Methods

Méthode Description
save ( $request, $user = false )

Method Details

__construct() public méthode

public __construct ( UserService $userService, UserRepository $userRepo )
$userService App\services\UserService
$userRepo App\Ninja\Repositories\UserRepository

index() public méthode

public index ( )

update() public méthode

* public function store(CreateUserRequest $request) { return $this->save($request); }
public update ( UpdateUserRequest $request, $userPublicId )
$request App\Http\Requests\UpdateUserRequest

Property Details

$entityType protected_oe property

protected $entityType

$userRepo protected_oe property

protected $userRepo

$userService protected_oe property

protected $userService