Implemented RightTransformerService

This commit is contained in:
Kevin Frantz
2019-01-27 02:08:11 +01:00
parent c995778264
commit 412b26d639
3 changed files with 205 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
<?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;
}