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

feat(helpers): add missed registry helper

This commit is contained in:
Awilum
2021-08-14 16:15:35 +03:00
parent 4ac0f4e8e8
commit 8d14c6a747

View File

@@ -121,6 +121,16 @@ if (! function_exists('session')) {
}
}
if (! function_exists('registry')) {
/**
* Get Flextype Registry Service.
*/
function registry()
{
return flextype()->container()->get('registry');
}
}
if (! function_exists('csrf')) {
/**
* Get Flextype CSRF Service.