add TimeRepository
This commit is contained in:
15
src/schedule-2.0/src/Repository/TimerRepository.php
Normal file
15
src/schedule-2.0/src/Repository/TimerRepository.php
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App\Repository;
|
||||||
|
|
||||||
|
use App\Entity\Timer;
|
||||||
|
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
|
||||||
|
use Doctrine\Common\Persistence\ManagerRegistry;
|
||||||
|
|
||||||
|
class TimerRepository extends ServiceEntityRepository
|
||||||
|
{
|
||||||
|
public function __construct(ManagerRegistry $registry)
|
||||||
|
{
|
||||||
|
parent::__construct($registry, Timer::class);
|
||||||
|
}
|
||||||
|
}
|
Reference in New Issue
Block a user