File tree Expand file tree Collapse file tree 3 files changed +1
-69
lines changed
Expand file tree Collapse file tree 3 files changed +1
-69
lines changed Original file line number Diff line number Diff line change 1616 "issues" : " https://github.com/flextype/issues"
1717 },
1818 "require" : {
19- "php" : " >=7.2.0" ,
20- "slim/flash" : " ~0.4.0"
19+ "php" : " >=7.2.0"
2120 },
2221 "config" : {
2322 "apcu-autoloader" : true ,
Original file line number Diff line number Diff line change 1111
1212namespace Flextype ;
1313
14- use Slim \Flash \Messages ;
1514use Flextype \Component \I18n \I18n ;
1615use function Flextype \Component \I18n \__ ;
1716
2726// Add Global Vars Admin Twig Extension
2827$ flextype ->twig ->addExtension (new GlobalVarsAdminTwigExtension ($ flextype ));
2928
30- // Add Flash Twig Extension
31- $ flextype ->twig ->addExtension (new FlashTwigExtension ($ flextype ));
32-
3329/**
3430 * Add Assets
3531 */
4541 array_merge ($ _admin_js ,
4642 ['project/plugins/admin/assets/dist/js/admin-vendor-build.min.js ' ]));
4743
48- /**
49- * Add flash service to Flextype container
50- */
51- $ flextype ['flash ' ] = static function () {
52- return new Messages ();
53- };
54-
5544$ flextype ['DashboardController ' ] = static function ($ container ) {
5645 return new DashboardController ($ container );
5746};
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments