public function wrap(Closure $callback, array $parameters = array())
    {
        return function () use ($callback, $parameters) {
            return $this->call($callback, $parameters);
        };
    }
public function wrap(Closure $callback, array $parameters = array())
    {
        return function () use ($callback, $parameters) {
            return $this->call($callback, $parameters);
        };
    }
public function wrap ( Closure $ callback , array $ parameters = array ( ) ) { return function ( ) use ( $ callback , $ parameters ) { return $ this -> call ( $ callback , $ parameters ) ; } ; }
Wrap the given closure such that its dependencies will be injected when executed.

@param  \Closure  $callback
@param  array  $parameters
@return \Closure
Wrap the given closure such that its dependencies will be injected when executed .