mirror of
https://github.com/jikan-me/jikan-rest.git
synced 2025-02-20 11:23:35 +08:00
- anime schedules - validation and corrections - refactorings around "augmentResponse" - macro usage instead
23 lines
505 B
PHP
23 lines
505 B
PHP
<?php
|
|
|
|
namespace App\Features;
|
|
|
|
use App\Dto\QueryAnimeRecommendationsCommand;
|
|
use Jikan\Helper\Constants;
|
|
|
|
/**
|
|
* @extends QueryRecommendationsHandler<QueryAnimeRecommendationsCommand>
|
|
*/
|
|
final class QueryAnimeRecommendationsHandler extends QueryRecommendationsHandler
|
|
{
|
|
public function requestClass(): string
|
|
{
|
|
return QueryAnimeRecommendationsCommand::class;
|
|
}
|
|
|
|
protected function recommendationType(): string
|
|
{
|
|
return Constants::RECENT_RECOMMENDATION_ANIME;
|
|
}
|
|
}
|