infinito/application/symfony/src/Domain/Right/RightTransformerServiceInterface.php
2019-05-30 16:55:08 +02:00

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;
}