mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-11 14:57:28 +01:00
33 lines
646 B
PHP
33 lines
646 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\Attribut;
|
||
|
|
||
|
use App\Domain\RequestManagement\Entity\RequestedEntityInterface;
|
||
|
|
||
|
/**
|
||
|
* @author kevinfrantz
|
||
|
*/
|
||
|
trait RequestedEntityAttribut
|
||
|
{
|
||
|
/**
|
||
|
* @var RequestedEntityInterface
|
||
|
*/
|
||
|
private $requestedEntity;
|
||
|
|
||
|
/**
|
||
|
* @return RequestedEntityInterface
|
||
|
*/
|
||
|
public function getRequestedEntity(): RequestedEntityInterface
|
||
|
{
|
||
|
return $this->requestedEntity;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* @param RequestedEntityInterface $requestedEntity
|
||
|
*/
|
||
|
public function setRequestedEntity(RequestedEntityInterface $requestedEntity): void
|
||
|
{
|
||
|
$this->requestedEntity = $requestedEntity;
|
||
|
}
|
||
|
}
|