mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2025-01-25 06:04:39 +00:00
24 lines
698 B
PHP
24 lines
698 B
PHP
<?php
|
|
|
|
namespace App\Repository;
|
|
|
|
use App\Entity\Article;
|
|
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
|
|
use Doctrine\Persistence\ManagerRegistry;
|
|
|
|
/**
|
|
* @extends ServiceEntityRepository<Article>
|
|
*
|
|
* @method Article|null find($id, $lockMode = null, $lockVersion = null)
|
|
* @method Article|null findOneBy(array $criteria, array $orderBy = null)
|
|
* @method Article[] findAll()
|
|
* @method Article[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
|
|
*/
|
|
class ArticleRepository extends ServiceEntityRepository
|
|
{
|
|
public function __construct(ManagerRegistry $registry)
|
|
{
|
|
parent::__construct($registry, Article::class);
|
|
}
|
|
}
|