1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-07 21:56:33 +02:00

feat(helpers): add missed slugify helper

This commit is contained in:
Awilum
2021-08-16 10:20:54 +03:00
parent b90b5efba9
commit 638d08ce6e

View File

@@ -141,6 +141,16 @@ if (! function_exists('csrf')) {
}
}
if (! function_exists('slugify')) {
/**
* Get Flextype Slugify Service.
*/
function slugify()
{
return flextype()->container()->get('slugify');
}
}
if (! function_exists('plugins')) {
/**
* Get Flextype Plugins Service.