mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-04-16 10:16:22 +02:00
21 lines
396 B
PHP
21 lines
396 B
PHP
<?php
|
|
|
|
namespace Infinito\Domain\Repository;
|
|
|
|
use Infinito\Repository\RepositoryInterface;
|
|
|
|
/**
|
|
* Offers a fabric to produce entity repositories by layer.
|
|
*
|
|
* @author kevinfrantz
|
|
*/
|
|
interface LayerRepositoryFactoryServiceInterface
|
|
{
|
|
/**
|
|
* @param string $layer
|
|
*
|
|
* @return RepositoryInterface
|
|
*/
|
|
public function getRepository(string $layer): RepositoryInterface;
|
|
}
|