From 223bd954d6148826fb885b684813528fbf0a5548 Mon Sep 17 00:00:00 2001 From: Awilum Date: Sat, 23 May 2020 20:27:17 +0300 Subject: [PATCH] feat(core): add new dependencies for Config API #432 --- src/flextype/dependencies.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/flextype/dependencies.php b/src/flextype/dependencies.php index 32864e89..31d5156a 100644 --- a/src/flextype/dependencies.php +++ b/src/flextype/dependencies.php @@ -113,6 +113,13 @@ $flextype['cache'] = static function ($container) use ($flextype) { return new Cache($flextype); }; +/** + * Add options service to Flextype container + */ +$flextype['config'] = static function ($container) use ($flextype) { + return new Config($flextype); +}; + /** * Add shortcodes service to Flextype container */