Skip to content

Commit

Permalink
r new laravel support
Browse files Browse the repository at this point in the history
  • Loading branch information
dusterio committed Jul 16, 2019
1 parent aa62470 commit 90d47a0
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/ProxyApplication.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down Expand Up @@ -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);
}
}

0 comments on commit 90d47a0

Please sign in to comment.