infinito/application/symfony/src/Attribut/RequestedRightAttribut.php

35 lines
675 B
PHP
Raw Normal View History

2019-01-26 16:42:13 +01:00
<?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;
}
}