Slugable
trait Slugable
Methods
void
generateSlug(string $value)
Generate the slug.
static Collection
allFromSlugs(array $slugs)
Get the models from an array of slugs.
static Collection
exceptFromSlugs(array $slugs)
Get all models except the given array of slugs.
static bool
slugExists(string $slug)
Check if the slug already exists.
Details
at line 15
void
generateSlug(string $value)
Generate the slug.
at line 32
static Collection
allFromSlugs(array $slugs)
Get the models from an array of slugs.
at line 43
static Collection
exceptFromSlugs(array $slugs)
Get all models except the given array of slugs.
at line 54
static bool
slugExists(string $slug)
Check if the slug already exists.