FetchWordUseCase
in package
Read onlyYes
Fetches a word form api
Table of Contents
Properties
- $apiService : WordApiService
- $logger : LoggerInterface
- $repository : WordRepositoryInterface
Methods
- __construct() : mixed
- execute() : void
Properties
$apiService
private
WordApiService
$apiService
$logger
private
LoggerInterface
$logger
$repository
private
WordRepositoryInterface
$repository
Methods
__construct()
public
__construct(LoggerInterface $logger, WordApiService $apiService, WordRepositoryInterface $repository) : mixed
Parameters
- $logger : LoggerInterface
- $apiService : WordApiService
- $repository : WordRepositoryInterface
execute()
public
execute() : void