1 | <?php |
||
14 | class GithubCommitStatusSource implements GithubCommitStatus |
||
15 | { |
||
16 | /** @var GithubCommitStatusId */ |
||
17 | private $lastReceivedGithubStatusId; |
||
18 | /** @var GithubCommitId */ |
||
19 | private $githubCommitId; |
||
20 | /** @var ExternalServiceId */ |
||
21 | private $githubExternalServiceId; |
||
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 $lastReceivedGithubStatusId |
||
37 | * @param GithubCommitId $githubCommitId |
||
38 | * @param ExternalServiceId $githubExternalServiceId |
||
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 | /** |
||
66 | * @return GithubCommitStatusId |
||
67 | */ |
||
68 | public function getLastReceivedGithubStatusId() |
||
72 | |||
73 | /** @return GithubCommitId */ |
||
74 | public function getGithubCommitId() |
||
78 | |||
79 | /** @return ExternalServiceId */ |
||
80 | public function getGithubExternalServiceId() |
||
84 | |||
85 | /** @return string */ |
||
86 | public function getDescription() |
||
90 | |||
91 | /** @return string */ |
||
92 | public function getTargetUrl() |
||
96 | |||
97 | /** @return GithubCommitStatusState */ |
||
98 | public function getGithubState() |
||
102 | |||
103 | /** @return DateTime */ |
||
104 | public function getGithubCreatedAt() |
||
108 | |||
109 | /** @return DateTime */ |
||
110 | public function getGithubUpdatedAt() |
||
114 | } |
||
115 |