mirror of
				https://github.com/kevinveenbirkenbach/infinito.git
				synced 2025-11-03 18:58:01 +00:00 
			
		
		
		
	Optimized Slug Attribut
This commit is contained in:
		@@ -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