mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2026-10-30 17:22:08 +00:00
Added RequestedEntityAttribut
This commit is contained in:
1 parent
c5375d4e0d
commit
cc491f5707
6 files changed
+100
-8
No files matched your search
@@ -0,0 +1,32 @@
|
||||
<?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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user