ServiceSlugInterface
interface ServiceSlugInterface
Interface to be called for DI for ServiceSlugInterface related services
Methods
bool
exists(string $object, string $slug)
Checks if slug already exists
string|null
match(string $route, object $object, string $slug)
Checks if the slug provided in the url matches the product one or will provide the redirect url
string
slugify(string $object, string $text)
Checks unicity of slugged text against collection of $object ('Bundle:Entity')
Details
at line 23
bool
exists(string $object, string $slug)
Checks if slug already exists
at line 29
string|null
match(string $route, object $object, string $slug)
Checks if the slug provided in the url matches the product one or will provide the redirect url
at line 35
string
slugify(string $object, string $text)
Checks unicity of slugged text against collection of $object ('Bundle:Entity')