url = $api_url; $this->token = $api_token; } public function user($name = "") { return new Request\User($this->url, $this->token, $name); } public function repos($user = "") { if ($user == "") return $this->user()->get("/repos"); } public function __destruct() {} } ?>