getClient() public method

public getClient ( ) : Milo\Github\Http\IClient
return Milo\Github\Http\IClient
Example #1
0
 /**
  * @return string
  */
 public function getPanel()
 {
     $user = $this->user;
     $token = $this->api->getToken();
     $client = $this->api->getClient();
     if ($this->rateLimit) {
         $freshLimit = TRUE;
         $rateLimit = $this->rateLimit;
     } elseif ($this->session->rateLimit) {
         $freshLimit = FALSE;
         $rateLimit = $this->session->rateLimit;
     } else {
         $freshLimit = FALSE;
         $rateLimit = NULL;
     }
     $messages = $this->messages;
     ob_start();
     require __DIR__ . '/Panel.phtml';
     return ob_get_clean();
 }