2018-05-25 16:19:12 +02:00
|
|
|
<?php
|
2019-08-12 17:25:59 +02:00
|
|
|
declare(strict_types=1);
|
|
|
|
|
2018-05-25 16:19:12 +02:00
|
|
|
namespace OliverKlee\Tea\Domain\Repository\Product;
|
|
|
|
|
|
|
|
use OliverKlee\Tea\Domain\Repository\Traits\StoragePageAgnosticTrait;
|
2018-05-25 17:38:51 +02:00
|
|
|
use TYPO3\CMS\Extbase\Persistence\QueryInterface;
|
2018-05-25 16:19:12 +02:00
|
|
|
use TYPO3\CMS\Extbase\Persistence\Repository;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Repository for Tea models.
|
|
|
|
*
|
|
|
|
* @author Oliver Klee <typo3-coding@oliverklee.de
|
|
|
|
*/
|
|
|
|
class TeaRepository extends Repository
|
|
|
|
{
|
|
|
|
use StoragePageAgnosticTrait;
|
2018-05-25 17:38:51 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @var string[]
|
|
|
|
*/
|
|
|
|
protected $defaultOrderings = ['title' => QueryInterface::ORDER_ASCENDING];
|
2018-05-25 16:19:12 +02:00
|
|
|
}
|