public function getPage($name)
    {
        if (!isset($this->pages[$name])) {
            throw new InvalidParameterException("Page not found");
        }
        return $this->pages[$name];
    }
public function getPage($name)
    {
        if (!isset($this->pages[$name])) {
            throw new InvalidParameterException("Page not found");
        }
        return $this->pages[$name];
    }
public function getPage ( $ name ) { if ( ! isset ( $ this -> pages [ $ name ] ) ) { throw new InvalidParameterException ( "Page not found" ) ; } return $ this -> pages [ $ name ] ; }
Returns the Page object identified by its page name.

@param string $name
@return Page
@throws \justso\justapi\InvalidParameterException
Returns the Page object identified by its page name .