mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-14 22:56:14 +01:00
tea/Classes/Domain/Repository/Product/TeaRepository.php
Oliver Klee bd3731934f
[CLEANUP] Add generics annotation to the Tea repository (#414)
This helps static code analysis determine for which models the
repository is responsible.
2022-04-03 02:24:55 +02:00

23 lines
508 B
PHP

<?php
declare(strict_types=1);
namespace TTN\Tea\Domain\Repository\Product;
use TTN\Tea\Domain\Model\Product\Tea;
use TTN\Tea\Domain\Repository\Traits\StoragePageAgnosticTrait;
use TYPO3\CMS\Extbase\Persistence\QueryInterface;
use TYPO3\CMS\Extbase\Persistence\Repository;
/**
* @extends Repository<Tea>
*/
class TeaRepository extends Repository
{
use StoragePageAgnosticTrait;
/**
* @var string[]
*/
protected $defaultOrderings = ['title' => QueryInterface::ORDER_ASCENDING];
}