From e70c6f47f0e6988c44ca9ce7593585d4bef55efc Mon Sep 17 00:00:00 2001 From: Awilum Date: Sun, 30 May 2021 13:13:03 +0300 Subject: [PATCH] feat(actions): add Actions API #549 --- src/flextype/Foundation/Actions.php | 66 +++++++++++++++++++++++++++++ src/flextype/flextype.php | 11 +++++ 2 files changed, 77 insertions(+) create mode 100644 src/flextype/Foundation/Actions.php diff --git a/src/flextype/Foundation/Actions.php b/src/flextype/Foundation/Actions.php new file mode 100644 index 00000000..fb266901 --- /dev/null +++ b/src/flextype/Foundation/Actions.php @@ -0,0 +1,66 @@ +container()['callableResolver'] = static fn () => new CallableResolv */ flextype()->container()['registry'] = $registry; +/** + * Add actions service to Flextype container + */ +flextype()->container()['actions'] = $actions; + /** * Add logger service to Flextype container */