/** * \param $url the domain name of the site or a URL object * \param $method the method being called */ function __construct($url, $method = null) { // Pass this information along to the parent constructor parent::__construct($url, 'question', 'questions', $method); }