Преглед изворни кода

Ecriture des repo

tags/0.1
Fab пре 3 година
родитељ
комит
8034173169
2 измењених фајлова са 5 додато и 7 уклоњено
  1. +3
    -3
      Repository/File/FileRepository.php
  2. +2
    -4
      Repository/User/UserRepository.php

+ 3
- 3
Repository/File/FileRepository.php Прегледај датотеку

@@ -2,15 +2,15 @@

namespace Lc\SovBundle\Repository\File;

use Lc\SovBundle\Doctrine\Extension\FileInterface;
use Lc\SovBundle\Repository\RepositoryAbstract;
use Lc\SovBundle\Model\File\FileInterface;
use Lc\SovBundle\Repository\AbstractRepository;
/**
* @method FileInterface|null find($id, $lockMode = null, $lockVersion = null)
* @method FileInterface|null findOneBy(array $criteria, array $orderBy = null)
* @method FileInterface[] findAll()
* @method FileInterface[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class FileRepository extends RepositoryAbstract
class FileRepository extends AbstractRepository
{
public function getInterfaceClass()
{

+ 2
- 4
Repository/User/UserRepository.php Прегледај датотеку

@@ -2,10 +2,8 @@

namespace Lc\SovBundle\Repository\User;

use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;
use Lc\SovBundle\Model\User\UserInterface;
use Lc\SovBundle\Repository\RepositoryAbstract;
use Lc\SovBundle\Repository\AbstractRepository;
use Symfony\Component\Security\Core\Exception\UnsupportedUserException;
use Symfony\Component\Security\Core\User\PasswordUpgraderInterface;
use Symfony\Component\Security\Core\User\UserInterface as SfUserInterface;
@@ -16,7 +14,7 @@ use Symfony\Component\Security\Core\User\UserInterface as SfUserInterface;
* @method UserInterface[] findAll()
* @method UserInterface[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class UserRepository extends RepositoryAbstract implements PasswordUpgraderInterface
class UserRepository extends AbstractRepository implements PasswordUpgraderInterface
{
public function getInterfaceClass()
{

Loading…
Откажи
Сачувај