Declared function hasIdentity public

This commit is contained in:
Kevin Frantz
2019-02-03 13:57:49 +01:00
parent 4ac7b3a19b
commit c3b8e1a92d
3 changed files with 27 additions and 32 deletions

View File

@@ -21,6 +21,11 @@ interface RequestedEntityInterface extends EntityInterface, SlugAttributInterfac
*/
public function setIdentity($identity): void;
/**
* @return bool True if an identity attribut is defined
*/
public function hasIdentity(): bool;
/**
* @return EntityInterface
*/