28 lines
611 B
PHP
28 lines
611 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Evomedien\Vitec\Domain\Repository;
|
|
|
|
/**
|
|
* 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 Downloads
|
|
*/
|
|
class DownloadRepository extends \TYPO3\CMS\Extbase\Persistence\Repository
|
|
{
|
|
public function findByUids(array $uids)
|
|
{
|
|
$query = $this->createQuery();
|
|
return $query->matching(
|
|
$query->in('uid', $uids) // Use 'uid' instead of 'uids'
|
|
)->execute();
|
|
}
|
|
} |