mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2026-10-30 09:12:09 +00:00
Optimized Slug Attribut
This commit is contained in:
1 parent
83d6c27883
commit
f9007ef939
2 files changed
+4
No files matched your search
@@ -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
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user