메소드 |
설명 |
|
generateSlug ( string $source, array $config, string $attribute ) : string |
Generate a slug from the given source string. |
|
generateSuffix ( string $slug, string $separator, Collection $list ) : string |
Generate a unique suffix for the given slug (and list of existing, "similar" slugs. |
|
getExistingSlugs ( string $slug, string $attribute, array $config ) : Collection |
Get all existing slugs that are similar to the given slug. |
|
getSlugEngine ( string $attribute ) : Slugify |
Return a class that has a slugify() method, used to convert
strings into slugs. |
|
getSlugSource ( mixed $from ) : string |
Get the source string for the slug. |
|
makeSlugUnique ( string $slug, array $config, string $attribute ) : string |
Checks if the slug should be unique, and makes it so if needed. |
|
needsSlugging ( string $attribute, array $config ) : boolean |
Determines whether the model needs slugging. |
|
usesSoftDeleting ( ) : boolean |
Does this model use softDeleting? |
|
validateSlug ( string $slug, array $config, string $attribute ) : string |
Checks that the given slug is not a reserved word. |
|