mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2024-12-04 23:17:19 +01:00
Optimized Slug Attribut
This commit is contained in:
parent
83d6c27883
commit
f9007ef939
@ -6,6 +6,8 @@ use App\Exception\UnvalidValueException;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
*
|
||||
* @see SlugAttributInterface
|
||||
*/
|
||||
trait SlugAttribut
|
||||
{
|
||||
|
@ -7,6 +7,8 @@ namespace App\Attribut;
|
||||
*/
|
||||
interface SlugAttributInterface
|
||||
{
|
||||
const SLUG_ATTRIBUT_NAME = 'slug';
|
||||
|
||||
/**
|
||||
* @param string $slug
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user