Optimized RequestManagement and tests

This commit is contained in:
Kevin Frantz committed 2019-01-26 19:39:36 +01:00
1 parent 4731ef22a2
commit 4dd7ce8331
12 files changed
+115 -36

No files matched your search

@@ -6,6 +6,8 @@ use App\Domain\RequestManagement\Entity\RequestedEntityInterface;
/**
* @author kevinfrantz
*
* @see RequestedEntityAttributInterface
*/
trait RequestedEntityAttribut
{
@@ -29,4 +31,12 @@ trait RequestedEntityAttribut
{
$this->requestedEntity = $requestedEntity;
}
/**
* @return bool
*/
public function hasRequestedEntity(): bool
{
return isset($this->requestedEntity);
}
}