Optimized Slug Attribut

This commit is contained in:
Kevin Frantz committed 2019-02-07 14:32:23 +01:00
1 parent 83d6c27883
commit f9007ef939
2 files changed
+4

No files matched your search

@@ -6,6 +6,8 @@ use App\Exception\UnvalidValueException;
/** /**
* @author kevinfrantz * @author kevinfrantz
*
* @see SlugAttributInterface
*/ */
trait SlugAttribut trait SlugAttribut
{ {
@@ -7,6 +7,8 @@ namespace App\Attribut;
*/ */
interface SlugAttributInterface interface SlugAttributInterface
{ {
const SLUG_ATTRIBUT_NAME = 'slug';
/** /**
* @param string $slug * @param string $slug
*/ */