mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-04-16 02:06:23 +02:00
22 lines
452 B
PHP
22 lines
452 B
PHP
<?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;
|
|
}
|