forked from KnpLabs/php-github-api
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathGitData.php
More file actions
58 lines (51 loc) · 1021 Bytes
/
Copy pathGitData.php
File metadata and controls
58 lines (51 loc) · 1021 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?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);
}
}