Optimized Slug Attribut

This commit is contained in:
Kevin Frantz 2019-02-07 14:32:23 +01:00
parent 83d6c27883
commit f9007ef939
2 changed files with 4 additions and 0 deletions

View File

@ -6,6 +6,8 @@ use App\Exception\UnvalidValueException;
/**
* @author kevinfrantz
*
* @see SlugAttributInterface
*/
trait SlugAttribut
{

View File

@ -7,6 +7,8 @@ namespace App\Attribut;
*/
interface SlugAttributInterface
{
const SLUG_ATTRIBUT_NAME = 'slug';
/**
* @param string $slug
*/