private function createController(\ReflectionClass $controllerName)
    {
        $controller = $this->container->make($controllerName->getName());
        return $controller;
    }
private function createController(\ReflectionClass $controllerName)
    {
        $controller = $this->container->make($controllerName->getName());
        return $controller;
    }
private function createController ( \ ReflectionClass $ controllerName ) { $ controller = $ this -> container -> make ( $ controllerName -> getName ( ) ) ; return $ controller ; }
Uses the dependency container to create the controller

@param \ReflectionClass $controllerName

@return ControllerInterface
Uses the dependency container to create the controller