mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 13:57:10 +02:00
Renamed domain RequestManagement to Request
This commit is contained in:
@@ -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;
|
||||
}
|
Reference in New Issue
Block a user