GetAllCountdownsUseCase
in package
Read onlyYes
Fetches all available countdowns
Table of Contents
Properties
- $logger : LoggerInterface
- $repository : CountdownRepositoryInterface
Methods
- __construct() : mixed
- execute() : array<string|int, Countdown>
Properties
$logger
private
LoggerInterface
$logger
$repository
private
CountdownRepositoryInterface
$repository
Methods
__construct()
public
__construct(CountdownRepositoryInterface $repository, LoggerInterface $logger) : mixed
Parameters
- $repository : CountdownRepositoryInterface
- $logger : LoggerInterface
execute()
public
execute() : array<string|int, Countdown>