GetAllUsersUseCase
in package
Read onlyYes
Gets all users
Table of Contents
Properties
- $logger : LoggerInterface
- $repository : UserRepositoryInterface
Methods
- __construct() : mixed
- execute() : array<string|int, User>
Properties
$logger
private
LoggerInterface
$logger
$repository
private
UserRepositoryInterface
$repository
Methods
__construct()
public
__construct(UserRepositoryInterface $repository, LoggerInterface $logger) : mixed
Parameters
- $repository : UserRepositoryInterface
- $logger : LoggerInterface
execute()
public
execute() : array<string|int, User>