infinito/application/symfony/src/Domain/RightManagement/RightTransformerServiceInterface.php

22 lines
499 B
PHP
Raw Normal View History

2019-01-27 02:08:11 +01:00
<?php
namespace Infinito\Domain\RightManagement;
2019-01-27 02:08:11 +01:00
use Infinito\Entity\Meta\RightInterface;
use Infinito\Domain\RequestManagement\Right\RequestedRightInterface;
2019-01-27 02:08:11 +01:00
/**
* Allows to transform an Requested Right to a Entity Right.
*
* @author kevinfrantz
*/
interface RightTransformerServiceInterface
{
/**
* @param RequestedRightInterface $requestedRight
2019-01-27 02:08:11 +01:00
*
* @return RightInterface
*/
public function transform(RequestedRightInterface $requestedRight): RightInterface;
2019-01-27 02:08:11 +01:00
}