mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-25 13:12:22 +01:00
22 lines
499 B
PHP
22 lines
499 B
PHP
<?php
|
|
|
|
namespace Infinito\Domain\RightManagement;
|
|
|
|
use Infinito\Entity\Meta\RightInterface;
|
|
use Infinito\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;
|
|
}
|