mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-27 14:04:01 +01:00
22 lines
457 B
PHP
22 lines
457 B
PHP
|
<?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;
|
||
|
}
|