diff --git a/src/flextype/helpers/helpers.php b/src/flextype/helpers/helpers.php index 83ecc479..c1d9e730 100644 --- a/src/flextype/helpers/helpers.php +++ b/src/flextype/helpers/helpers.php @@ -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.