mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-27 14:04:01 +01:00
22 lines
484 B
PHP
22 lines
484 B
PHP
<?php
|
|
|
|
namespace App\Domain\RightManagement;
|
|
|
|
use App\Entity\Meta\RightInterface;
|
|
use App\Domain\RequestManagement\Right\RequestedRightInterface;
|
|
|
|
/**
|
|
* Allows to transform an Requested Right to a Entity Right.
|
|
*
|
|
* @author kevinfrantz
|
|
*/
|
|
interface RightTransformerServiceInterface
|
|
{
|
|
/**
|
|
* @param RequestedRightInterface $requestedRight
|
|
*
|
|
* @return RightInterface
|
|
*/
|
|
public function transform(RequestedRightInterface $requestedRight): RightInterface;
|
|
}
|