mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-04-16 02:06:23 +02:00
22 lines
479 B
PHP
22 lines
479 B
PHP
<?php
|
|
|
|
namespace Infinito\Domain\Right;
|
|
|
|
use Infinito\Entity\Meta\RightInterface;
|
|
use Infinito\Domain\Request\Right\RequestedRightInterface;
|
|
|
|
/**
|
|
* Allows to transform an Requested Right to a Entity Right.
|
|
*
|
|
* @author kevinfrantz
|
|
*/
|
|
interface RightTransformerServiceInterface
|
|
{
|
|
/**
|
|
* @param RequestedRightInterface $requestedRight
|
|
*
|
|
* @return RightInterface
|
|
*/
|
|
public function transform(RequestedRightInterface $requestedRight): RightInterface;
|
|
}
|