Refactored Repositories

This commit is contained in:
Kevin Frantz
2019-01-16 20:40:15 +01:00
parent 662541cec2
commit 3ca5f3dc36
13 changed files with 70 additions and 38 deletions

View File

@@ -2,14 +2,14 @@
namespace App\Repository\Source;
use Doctrine\ORM\EntityRepository;
use App\Entity\Source\SourceInterface;
use App\Domain\RequestManagement\RequestedSourceInterface;
use App\Repository\AbstractRepository;
/**
* @author kevinfrantz
*/
final class SourceRepository extends EntityRepository implements SourceRepositoryInterface
final class SourceRepository extends AbstractRepository implements SourceRepositoryInterface
{
public function findOneBySlug(string $slug): ?SourceInterface
{