UserDeleter
in package
FinalYes
Service.
Table of Contents
Properties
Methods
- __construct() : mixed
- The constructor.
- delDocUser() : mixed
- deleteUser() : void
- Delete user.
Properties
$repository
private
UserRepository
$repository
Methods
__construct()
The constructor.
public
__construct(UserRepository $repository) : mixed
Parameters
- $repository : UserRepository
-
The repository
delDocUser()
public
delDocUser(mixed $user_id) : mixed
Parameters
- $user_id : mixed
deleteUser()
Delete user.
public
deleteUser(int $userId) : void
Parameters
- $userId : int
-
The user id