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

22 lines
457 B
PHP
Raw Normal View History

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