/** * Constructor. * * @param Registry $options GitHub options object. * @param Http $client The HTTP client object. * * @since 1.0 */ public function __construct(Registry $options = null, Http $client = null) { parent::__construct($options, $client); $this->package = get_class($this); $this->package = substr($this->package, strrpos($this->package, '\\') + 1); }
/** * Method to build and return a full request URL for the request. This method will * add appropriate pagination details if necessary and also prepend the API url * to have a complete URL for the request. * * @param string $path URL to inflect * @param integer $page Page to request * @param integer $limit Number of results to return per page * * @return string The request URL. * * @since 1.0 */ public function fetchUrl($path, $page = 0, $limit = 0) { return parent::fetchUrl($path, $page, $limit); }