diff --git a/src/ProxyApplication.php b/src/ProxyApplication.php index 2d5dcfa..96a6f0f 100644 --- a/src/ProxyApplication.php +++ b/src/ProxyApplication.php @@ -26,16 +26,6 @@ public function runningInConsole() return $this->app->runningInConsole(); } - /** - * @param string $symbol - * @param callable|mixed $callback - * @return mixed - */ - public function singleton($symbol, $callback) - { - return $this->app->singleton($symbol, $callback); - } - /** * Determine if a given offset exists. * @@ -103,4 +93,14 @@ public function __set($key, $value) { $this->app[$key] = $value; } + + /** + * @param $name + * @param $args + * @return mixed + */ + public function __call($name, $args) + { + return call_user_func_array([$this->app, $name], $args); + } } \ No newline at end of file