forked from wallabag/wallabag
Move Api repository to Core
This commit is contained in:
@ -9,9 +9,9 @@ use Symfony\Component\HttpFoundation\Response;
|
|||||||
use Symfony\Component\Routing\Annotation\Route;
|
use Symfony\Component\Routing\Annotation\Route;
|
||||||
use Symfony\Contracts\Translation\TranslatorInterface;
|
use Symfony\Contracts\Translation\TranslatorInterface;
|
||||||
use Wallabag\ApiBundle\Form\Type\ClientType;
|
use Wallabag\ApiBundle\Form\Type\ClientType;
|
||||||
use Wallabag\ApiBundle\Repository\ClientRepository;
|
|
||||||
use Wallabag\CoreBundle\Controller\AbstractController;
|
use Wallabag\CoreBundle\Controller\AbstractController;
|
||||||
use Wallabag\CoreBundle\Entity\Api\Client;
|
use Wallabag\CoreBundle\Entity\Api\Client;
|
||||||
|
use Wallabag\CoreBundle\Repository\Api\ClientRepository;
|
||||||
|
|
||||||
class DeveloperController extends AbstractController
|
class DeveloperController extends AbstractController
|
||||||
{
|
{
|
||||||
|
|||||||
@ -12,7 +12,7 @@ use Wallabag\CoreBundle\Entity\User;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @ORM\Table("oauth2_clients")
|
* @ORM\Table("oauth2_clients")
|
||||||
* @ORM\Entity(repositoryClass="Wallabag\ApiBundle\Repository\ClientRepository")
|
* @ORM\Entity(repositoryClass="Wallabag\CoreBundle\Repository\Api\ClientRepository")
|
||||||
*/
|
*/
|
||||||
class Client extends BaseClient
|
class Client extends BaseClient
|
||||||
{
|
{
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
|
|
||||||
namespace Wallabag\ApiBundle\Repository;
|
namespace Wallabag\CoreBundle\Repository\Api;
|
||||||
|
|
||||||
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
|
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
|
||||||
use Doctrine\Persistence\ManagerRegistry;
|
use Doctrine\Persistence\ManagerRegistry;
|
||||||
Reference in New Issue
Block a user