Initial Commit
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
<?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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user