public function make($class)
    {
        $controller = $this->container->make($class);
        $controller->setServer($this->makeServer());
        $controller->setView($this->makeView());
        $controller->setSession($this->makeSession());
        $controller->setUrlGenerator($this->makeUrlGenerator());

        return $controller;
    }
public function make($class)
    {
        $controller = $this->container->make($class);
        $controller->setServer($this->makeServer());
        $controller->setView($this->makeView());
        $controller->setSession($this->makeSession());
        $controller->setUrlGenerator($this->makeUrlGenerator());

        return $controller;
    }
public function make ( $ class ) { $ controller = $ this -> container -> make ( $ class ) ; $ controller -> setServer ( $ this -> makeServer ( ) ) ; $ controller -> setView ( $ this -> makeView ( ) ) ; $ controller -> setSession ( $ this -> makeSession ( ) ) ; $ controller -> setUrlGenerator ( $ this -> makeUrlGenerator ( ) ) ; return $ controller ; }
Create and bootstrap the given controller class.

@param string $class
@return \FluxBB\Web\Controller
Create and bootstrap the given controller class .