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

@@ -15,9 +15,14 @@ interface SlugAttributInterface
public function setSlug(string $slug): void;
/**
* @return string
* Don't use this function to check if a slug is set
* Use instead:.
*
* @see self::hasSlug()
*
* @return string|null
*/
public function getSlug(): string;
public function getSlug(): ?string;
/**
* @return bool Checks if a slug is set