This commit is contained in:
Chris
2018-10-18 15:59:38 +01:00
parent 4f6a0cb7c6
commit 380a0e8623
352 changed files with 32929 additions and 3604 deletions

View File

@@ -0,0 +1,59 @@
<?php
namespace Github\Api;
use Github\Api\GitData\Blobs;
use Github\Api\GitData\Commits;
use Github\Api\GitData\References;
use Github\Api\GitData\Tags;
use Github\Api\GitData\Trees;
/**
* Getting full versions of specific files and trees in your Git repositories.
*
* @link http://developer.github.com/v3/git/
*
* @author Joseph Bielawski <stloyd@gmail.com>
*/
class GitData extends AbstractApi
{
/**
* @return Blobs
*/
public function blobs()
{
return new Blobs($this->client);
}
/**
* @return Commits
*/
public function commits()
{
return new Commits($this->client);
}
/**
* @return References
*/
public function references()
{
return new References($this->client);
}
/**
* @return Tags
*/
public function tags()
{
return new Tags($this->client);
}
/**
* @return Trees
*/
public function trees()
{
return new Trees($this->client);
}
}