Refactored draft for Request Management

This commit is contained in:
Kevin Frantz
2019-01-20 12:54:56 +01:00
parent 7e9916b27b
commit 86198ff2df
40 changed files with 490 additions and 176 deletions

View File

@@ -0,0 +1,21 @@
<?php
namespace App\Domain\CRUDManagement;
use App\Repository\RepositoryInterface;
use App\Entity\EntityInterface;
/**
* Offers a fabric for entity repositories.
*
* @author kevinfrantz
*/
interface RepositoryFactoryServiceInterface
{
/**
* @param EntityInterface $entity
*
* @return RepositoryInterface The repositoy of the interface
*/
public function getRepository(EntityInterface $entity): RepositoryInterface;
}