forked from tan-tan-kanarek/github-php-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGitHubFullCommit.php
More file actions
48 lines (39 loc) · 801 Bytes
/
Copy pathGitHubFullCommit.php
File metadata and controls
48 lines (39 loc) · 801 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
<?php
require_once(__DIR__ . '/GitHubCommit.php');
require_once(__DIR__ . '/GitHubFullCommitStats.php');
require_once(__DIR__ . '/GitHubFullCommitFiles.php');
class GitHubFullCommit extends GitHubObject
{
/* (non-PHPdoc)
* @see GitHubObject::getAttributes()
*/
protected function getAttributes()
{
return array_merge(parent::getAttributes(), array(
'stats' => 'GitHubFullCommitStats',
'files' => 'array<GitHubFullCommitFiles>',
));
}
/**
* @var GitHubFullCommitStats
*/
protected $stats;
/**
* @var array<GitHubFullCommitFiles>
*/
protected $files;
/**
* @return GitHubFullCommitStats
*/
public function getStats()
{
return $this->stats;
}
/**
* @return array<GitHubFullCommitFiles>
*/
public function getFiles()
{
return $this->files;
}
}