forked from lubiana/futtern
add orm and tests
This commit is contained in:
parent
a32bf4ce7d
commit
a541338909
23 changed files with 1666 additions and 23 deletions
18
src/Repository/FoodVendorRepository.php
Normal file
18
src/Repository/FoodVendorRepository.php
Normal file
|
@ -0,0 +1,18 @@
|
|||
<?php
|
||||
|
||||
namespace App\Repository;
|
||||
|
||||
use App\Entity\FoodVendor;
|
||||
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
|
||||
use Doctrine\Persistence\ManagerRegistry;
|
||||
|
||||
/**
|
||||
* @extends ServiceEntityRepository<FoodVendor>
|
||||
*/
|
||||
class FoodVendorRepository extends ServiceEntityRepository
|
||||
{
|
||||
public function __construct(ManagerRegistry $registry)
|
||||
{
|
||||
parent::__construct($registry, FoodVendor::class);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue