Implemented draft for PureSourceCreateType Test and adapted classes to it

This commit is contained in:
Kevin Frantz
2019-02-13 18:03:25 +01:00
parent aafde4c0f9
commit 1bc85c994e
14 changed files with 93 additions and 22 deletions

View File

@@ -13,9 +13,14 @@ interface IdAttributInterface
public function setId(int $id): void;
/**
* @return int
* Don't use this function to check if an id is set.
* Use instead:.
*
* @see self::hasId()
*
* @return int|null
*/
public function getId(): int;
public function getId(): ?int;
/**
* @return bool Checks if attribute is set