2015-02-16 20:28:49 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Wallabag\CoreBundle\Repository;
|
|
|
|
|
2022-08-27 21:01:09 +00:00
|
|
|
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
|
|
|
|
use Doctrine\Persistence\ManagerRegistry;
|
|
|
|
use Wallabag\CoreBundle\Entity\Config;
|
2015-02-16 20:28:49 +00:00
|
|
|
|
2022-11-23 14:51:33 +00:00
|
|
|
/**
|
|
|
|
* @method Config|null findOneByUser(int $userId)
|
|
|
|
*/
|
2022-08-27 21:01:09 +00:00
|
|
|
class ConfigRepository extends ServiceEntityRepository
|
2015-02-16 20:28:49 +00:00
|
|
|
{
|
2022-08-27 21:01:09 +00:00
|
|
|
public function __construct(ManagerRegistry $registry)
|
|
|
|
{
|
|
|
|
parent::__construct($registry, Config::class);
|
|
|
|
}
|
2015-02-16 20:28:49 +00:00
|
|
|
}
|