Implemented setIdentity for RequestedEntity

This commit is contained in:
Kevin Frantz
2019-01-26 17:17:20 +01:00
parent a7ad02be50
commit 89140837b7
9 changed files with 77 additions and 39 deletions

View File

@@ -3,10 +3,19 @@
namespace App\Domain\RequestManagement\Entity;
use App\Entity\EntityInterface;
use App\Attribut\SlugAttributInterface;
/**
* A requested entity containes the stumb attributes to load an entity.
*
* @author kevinfrantz
*/
interface RequestedEntityInterface extends EntityInterface
interface RequestedEntityInterface extends EntityInterface, SlugAttributInterface
{
/**
* Sets the slug or the id.
*
* @param string|int $identity
*/
public function setIdentity($identity): void;
}