2019-01-27 02:08:11 +01:00
|
|
|
<?php
|
|
|
|
|
2019-02-17 14:33:19 +01:00
|
|
|
namespace Infinito\Domain\RightManagement;
|
2019-01-27 02:08:11 +01:00
|
|
|
|
2019-02-17 14:33:19 +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
|
|
|
|
{
|
|
|
|
/**
|
2019-02-16 10:47:41 +01:00
|
|
|
* @param RequestedRightInterface $requestedRight
|
2019-01-27 02:08:11 +01:00
|
|
|
*
|
|
|
|
* @return RightInterface
|
|
|
|
*/
|
2019-02-16 10:47:41 +01:00
|
|
|
public function transform(RequestedRightInterface $requestedRight): RightInterface;
|
2019-01-27 02:08:11 +01:00
|
|
|
}
|