private function getRunnable($package, $class, $method, $className)
    {
        $view = $this->getViewFor($package, $class, $method);
        $instance = new $className($this->request, $this->response, $view, $this->env, $this->cache, $this->router, $this->config);
        /* @var $instance Runnable */
        $instance->init();

        return $instance;
    }
private function getRunnable($package, $class, $method, $className)
    {
        $view = $this->getViewFor($package, $class, $method);
        $instance = new $className($this->request, $this->response, $view, $this->env, $this->cache, $this->router, $this->config);
        /* @var $instance Runnable */
        $instance->init();

        return $instance;
    }
private function getRunnable ( $ package , $ class , $ method , $ className ) { $ view = $ this -> getViewFor ( $ package , $ class , $ method ) ; $ instance = new $ className ( $ this -> request , $ this -> response , $ view , $ this -> env , $ this -> cache , $ this -> router , $ this -> config ) ; /* @var $instance Runnable */ $ instance -> init ( ) ; return $ instance ; }
Get the corresponding runnable for the given parameters
@param string $package
@param string $class
@param string $method
@param string $className
@return \Phavour\Runnable
Get the corresponding runnable for the given parameters