1 | <?php |
||
14 | class GithubCommitStatusSource implements GithubCommitStatus |
||
15 | { |
||
16 | /** @var GithubCommitStatusId */ |
||
17 | private $id; |
||
18 | /** @var GithubCommit */ |
||
19 | private $githubCommit; |
||
20 | /** @var ExternalService */ |
||
21 | private $githubExternalService; |
||
22 | /** @var string */ |
||
23 | private $description; |
||
24 | /** @var string */ |
||
25 | private $targetUrl; |
||
26 | /** @var GithubCommitStatusState */ |
||
27 | private $githubState; |
||
28 | /** @var DateTime */ |
||
29 | private $githubCreatedAt; |
||
30 | /** @var DateTime */ |
||
31 | private $githubUpdatedAt; |
||
32 | |||
33 | /** |
||
34 | * GithubCommitStatusSource constructor. |
||
35 | * |
||
36 | * @param GithubCommitStatusId $id |
||
37 | * @param GithubCommit $githubCommit |
||
38 | * @param ExternalService $githubExternalService |
||
39 | * @param string $description |
||
40 | * @param string $targetUrl |
||
41 | * @param GithubCommitStatusState $githubState |
||
42 | * @param DateTime $githubCreatedAt |
||
43 | * @param DateTime $githubUpdatedAt |
||
44 | */ |
||
45 | public function __construct( |
||
64 | |||
65 | /** @return GithubCommitStatusId */ |
||
66 | public function getId() |
||
70 | |||
71 | /** @return GithubCommitId */ |
||
72 | public function getGithubCommitId() |
||
76 | |||
77 | /** @return GithubCommit */ |
||
78 | public function getGithubCommit() |
||
82 | |||
83 | /** @return ExternalServiceId */ |
||
84 | public function getGithubExternalServiceId() |
||
88 | |||
89 | /** @return ExternalService */ |
||
90 | public function getGithubExternalService() |
||
94 | |||
95 | /** @return string */ |
||
96 | public function getDescription() |
||
100 | |||
101 | /** @return string */ |
||
102 | public function getTargetUrl() |
||
106 | |||
107 | /** @return GithubCommitStatusState */ |
||
108 | public function getGithubState() |
||
112 | |||
113 | /** @return DateTime */ |
||
114 | public function getGithubCreatedAt() |
||
118 | |||
119 | /** @return DateTime */ |
||
120 | public function getGithubUpdatedAt() |
||
124 | } |
||
125 |