public function getPageControllerTitle($name)
    {
        if (!array_key_exists($name, $this->config['page']['controllers'])) {
            throw new \InvalidArgumentException(sprintf('Undefined controller "%s".', $name));
        }

        return $this->config['page']['controllers'][$name]['title'];
    }
public function getPageControllerTitle($name)
    {
        if (!array_key_exists($name, $this->config['page']['controllers'])) {
            throw new \InvalidArgumentException(sprintf('Undefined controller "%s".', $name));
        }

        return $this->config['page']['controllers'][$name]['title'];
    }
public function getPageControllerTitle ( $ name ) { if ( ! array_key_exists ( $ name , $ this -> config [ 'page' ] [ 'controllers' ] ) ) { throw new \ InvalidArgumentException ( sprintf ( 'Undefined controller "%s".' , $ name ) ) ; } return $ this -> config [ 'page' ] [ 'controllers' ] [ $ name ] [ 'title' ] ; }
Returns the page controller title.

@param string $name

@return string
@throws \InvalidArgumentException
Returns the page controller title .