Renamed domain RequestManagement to Request

This commit is contained in:
Kevin Frantz
2019-05-30 16:52:02 +02:00
parent 9af7f47b85
commit b8029bb7cc
75 changed files with 149 additions and 149 deletions

View File

@@ -0,0 +1,33 @@
<?php
namespace Infinito\Domain\Request\Entity;
use Infinito\Entity\EntityInterface;
use Infinito\Attribut\SlugAttributInterface;
use Infinito\Attribut\RequestedRightAttributInterface;
use Infinito\Attribut\ClassAttributInterface;
/**
* A requested entity containes the stumb attributes to load an entity.
*
* @author kevinfrantz
*/
interface RequestedEntityInterface extends EntityInterface, SlugAttributInterface, RequestedRightAttributInterface, ClassAttributInterface
{
/**
* Sets the slug or the id.
*
* @param string|int $identity
*/
public function setIdentity($identity): void;
/**
* @return bool True if an identity attribut is defined
*/
public function hasIdentity(): bool;
/**
* @return EntityInterface
*/
public function getEntity(): EntityInterface;
}