1: <?php
2:
3: 4: 5: 6:
7:
8: use Nette\Diagnostics\Debugger;
9:
10:
11: if (!function_exists('dump')) {
12: 13: 14: 15:
16: function dump($var)
17: {
18: foreach (func_get_args() as $arg) {
19: Debugger::dump($arg);
20: }
21: return $var;
22: }
23: }
24:
25:
26: if (!function_exists('callback')) {
27: 28: 29: 30: 31: 32:
33: function callback($callback, $m = NULL)
34: {
35: return new Nette\Callback($callback, $m);
36: }
37: }
38:
39: class_alias('Nette\Configurator', 'Nette\Config\Configurator');
40: class_alias('Nette\DI\CompilerExtension', 'Nette\Config\CompilerExtension');
41: class_alias('Nette\DI\Compiler', 'Nette\Config\Compiler');
42: