mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 13:57:10 +02:00
Refactored draft for Request Management
This commit is contained in:
@@ -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;
|
||||
}
|
Reference in New Issue
Block a user