1 <?php
2
3 /*
4 * This file is part of the Icybee package.
5 *
6 * (c) Olivier Laviale <olivier.laviale@gmail.com>
7 *
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
10 */
11
12 namespace Icybee;
13
14 use ICanBoogie\HTTP\Request;
15
16 class ConfigController extends \ICanBoogie\Routing\Controller
17 {
18 public function __invoke(Request $request)
19 {
20 global $core;
21
22 var_dump($this->route);
23
24 $block = $core->modules['dashboard']->getBlock('config');
25 $decorator = (string) new \Icybee\DocumentDecorator(new \Icybee\AdminDecorator($block));
26
27 return $decorator;
28 }
29 }
30