29 lines
748 B
PHP
29 lines
748 B
PHP
<?php
|
|
namespace Evomedien\Vitec\Domain\Repository;
|
|
|
|
use TYPO3\CMS\Extbase\Persistence\QueryResultInterface;
|
|
|
|
|
|
/**
|
|
* This file is part of the "VITEC" Extension for TYPO3 CMS.
|
|
*
|
|
* For the full copyright and license information, please read the
|
|
* LICENSE.txt file that was distributed with this source code.
|
|
*
|
|
* (c) 2025
|
|
*/
|
|
|
|
/**
|
|
* The repository for Usecase
|
|
*/
|
|
class UsecaseRepository extends \TYPO3\CMS\Extbase\Persistence\Repository
|
|
{
|
|
|
|
public function findAllWithCategories(): QueryResultInterface
|
|
{
|
|
$query = $this->createQuery();
|
|
$query->getQuerySettings()->setRespectStoragePage(false); // Fetch from all storage pages
|
|
return $query->execute();
|
|
}
|
|
}
|