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:
@@ -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.
|
||||
|
Reference in New Issue
Block a user