You are here

public function Github_Client::getCommitApi in Bibliography Module 7.2

Get the commit API

Return value

Github_Api_Commit the commit API

File

modules/CiteProc/Github/Client.php, line 176

Class

Github_Client
Simple yet very cool PHP Github client

Code

public function getCommitApi() {
  if (!isset($this->apis['commit'])) {
    $this->apis['commit'] = new Github_Api_Commit($this);
  }
  return $this->apis['commit'];
}