PageEditSlug
class PageEditSlug implements PageEditSlugInterface
Services related to PageEdit Slug
Properties
private PageEditFileInterface | $pageEditFile | Stores PageEditFileInterface |
Methods
bool
exists(string $slug)
Checks if slug already exists
string
slugify(string $text, bool $keepSlashes = false)
Checks unicity of slugged text against pages collection
Details
at line 28
__construct(PageEditFileInterface $pageEditFile)
at line 36
bool
exists(string $slug)
Checks if slug already exists
at line 52
string
slugify(string $text, bool $keepSlashes = false)
Checks unicity of slugged text against pages collection