code: public function getPage($name)
      {
          if (!isset($this->pages[$name])) {
              throw new InvalidParameterException("Page not found");
          }
          return $this->pages[$name];
      }
docs: Returns the Page object identified by its page name.
  
  @param string $name
  @return Page
  @throws \justso\justapi\InvalidParameterException