mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-04-16 02:06:23 +02:00
Optimized Slug Attribut
This commit is contained in:
parent
83d6c27883
commit
f9007ef939
@ -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
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user