private function createControllerFromClassName($className)
    {
        // If we can, use the container to build the Controller so that Constructor params can
        // be injected where possible
        if ($this->invoker) {
            return $this->invoker->getContainer()->get($className);
        }

        return new $className;
    }
private function createControllerFromClassName($className)
    {
        // If we can, use the container to build the Controller so that Constructor params can
        // be injected where possible
        if ($this->invoker) {
            return $this->invoker->getContainer()->get($className);
        }

        return new $className;
    }
private function createControllerFromClassName ( $ className ) { // If we can, use the container to build the Controller so that Constructor params can // be injected where possible if ( $ this -> invoker ) { return $ this -> invoker -> getContainer ( ) -> get ( $ className ) ; } return new $ className ; }
Instantiate a Controller object from the provided class name

@param  string $className
@return mixed
Instantiate a Controller object from the provided class name