Test Setup Failed
Branch main (b06171)
by Jenny
25:39 queued 21:46
created

TimeValueRepository   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 2
dl 0
loc 5
rs 10
c 1
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
namespace App\Repository;
4
5
use App\Entity\Goals\TimeValue;
6
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
7
use Doctrine\Persistence\ManagerRegistry;
8
9
/**
10
 * @extends ServiceEntityRepository<TimeValue>
11
 */
12
class TimeValueRepository extends ServiceEntityRepository
13
{
14
    public function __construct(ManagerRegistry $registry)
15
    {
16
        parent::__construct($registry, TimeValue::class);
17
    }
18
19
    //    /**
20
    //     * @return TimeValue[] Returns an array of TimeValue objects
21
    //     */
22
    //    public function findByExampleField($value): array
23
    //    {
24
    //        return $this->createQueryBuilder('t')
25
    //            ->andWhere('t.exampleField = :val')
26
    //            ->setParameter('val', $value)
27
    //            ->orderBy('t.id', 'ASC')
28
    //            ->setMaxResults(10)
29
    //            ->getQuery()
30
    //            ->getResult()
31
    //        ;
32
    //    }
33
34
    //    public function findOneBySomeField($value): ?TimeValue
35
    //    {
36
    //        return $this->createQueryBuilder('t')
37
    //            ->andWhere('t.exampleField = :val')
38
    //            ->setParameter('val', $value)
39
    //            ->getQuery()
40
    //            ->getOneOrNullResult()
41
    //        ;
42
    //    }
43
}
44