24 lines
690 B
PHP
24 lines
690 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\Repository;
|
||
|
|
||
|
use App\Entity\Artist;
|
||
|
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
|
||
|
use Doctrine\Persistence\ManagerRegistry;
|
||
|
|
||
|
/**
|
||
|
* @extends ServiceEntityRepository<Artist>
|
||
|
*
|
||
|
* @method Artist|null find($id, $lockMode = null, $lockVersion = null)
|
||
|
* @method Artist|null findOneBy(array $criteria, array $orderBy = null)
|
||
|
* @method Artist[] findAll()
|
||
|
* @method Artist[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
|
||
|
*/
|
||
|
class ArtistRepository extends ServiceEntityRepository
|
||
|
{
|
||
|
public function __construct(ManagerRegistry $registry)
|
||
|
{
|
||
|
parent::__construct($registry, Artist::class);
|
||
|
}
|
||
|
}
|