mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-11 14:57:28 +01:00
35 lines
675 B
PHP
35 lines
675 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\Attribut;
|
||
|
|
||
|
use App\Domain\RequestManagement\Right\RequestedRightInterface;
|
||
|
|
||
|
/**
|
||
|
* @author kevinfrantz
|
||
|
*
|
||
|
* @see RequestedRightAttributInterface
|
||
|
*/
|
||
|
trait RequestedRightAttribut
|
||
|
{
|
||
|
/**
|
||
|
* @var RequestedRightInterface
|
||
|
*/
|
||
|
protected $requestedRight;
|
||
|
|
||
|
/**
|
||
|
* @param RequestedRightInterface $requestedRight
|
||
|
*/
|
||
|
public function setRequestedRight(RequestedRightInterface $requestedRight): void
|
||
|
{
|
||
|
$this->requestedRight = $requestedRight;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* @return RequestedRightInterface
|
||
|
*/
|
||
|
public function getRequestedRight(): RequestedRightInterface
|
||
|
{
|
||
|
return $this->requestedRight;
|
||
|
}
|
||
|
}
|