mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 13:57:10 +02:00
Implemented RightTransformerService
This commit is contained in:
@@ -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;
|
||||
}
|
Reference in New Issue
Block a user