|
1
|
|
|
<?php |
|
2
|
|
|
declare(strict_types = 1); |
|
3
|
|
|
/** |
|
4
|
|
|
* /src/Repository/DateDimensionRepository.php |
|
5
|
|
|
* |
|
6
|
|
|
* @author TLe, Tarmo Leppänen <[email protected]> |
|
7
|
|
|
*/ |
|
8
|
|
|
|
|
9
|
|
|
namespace App\Repository; |
|
10
|
|
|
|
|
11
|
|
|
use App\Entity\DateDimension as Entity; |
|
12
|
|
|
use Doctrine\Persistence\ManagerRegistry; |
|
13
|
|
|
|
|
14
|
|
|
/** |
|
15
|
|
|
* Class DateDimensionRepository |
|
16
|
|
|
* |
|
17
|
|
|
* @package App\Repository |
|
18
|
|
|
* @author TLe, Tarmo Leppänen <[email protected]> |
|
19
|
|
|
* |
|
20
|
|
|
* @psalm-suppress LessSpecificImplementedReturnType |
|
21
|
|
|
* @codingStandardsIgnoreStart |
|
22
|
|
|
* |
|
23
|
|
|
* @method Entity|null find(string $id, ?int $lockMode = null, ?int $lockVersion = null) |
|
24
|
|
|
* @method Entity|null findAdvanced(string $id, string | int | null $hydrationMode = null) |
|
25
|
|
|
* @method Entity|null findOneBy(array $criteria, ?array $orderBy = null) |
|
26
|
|
|
* @method Entity[] findBy(array $criteria, ?array $orderBy = null, ?int $limit = null, ?int $offset = null) |
|
27
|
|
|
* @method Entity[] findByAdvanced(array $criteria, ?array $orderBy = null, ?int $limit = null, ?int $offset = null, ?array $search = null) |
|
28
|
|
|
* @method Entity[] findAll() |
|
29
|
|
|
* |
|
30
|
|
|
* @codingStandardsIgnoreEnd |
|
31
|
|
|
*/ |
|
32
|
|
|
class DateDimensionRepository extends BaseRepository |
|
33
|
|
|
{ |
|
34
|
|
|
/** |
|
35
|
|
|
* @psalm-var class-string |
|
36
|
|
|
*/ |
|
37
|
|
|
protected static string $entityName = Entity::class; |
|
38
|
|
|
|
|
39
|
105 |
|
public function __construct( |
|
40
|
|
|
protected ManagerRegistry $managerRegistry, |
|
41
|
|
|
) { |
|
42
|
105 |
|
} |
|
43
|
|
|
} |
|
44
|
|
|
|