1 | <?php |
||
5 | class CommitMsgResponse |
||
6 | { |
||
7 | /** |
||
8 | * @var bool |
||
9 | */ |
||
10 | private $commitMsg; |
||
11 | /** |
||
12 | * @var string |
||
13 | */ |
||
14 | private $regularExpression; |
||
15 | |||
16 | /** |
||
17 | * CommitMsgResponse constructor. |
||
18 | * |
||
19 | * @param bool $commitMsg |
||
20 | * @param string $regularExpression |
||
21 | */ |
||
22 | 9 | public function __construct($commitMsg, $regularExpression) |
|
27 | |||
28 | /** |
||
29 | * @return bool |
||
30 | */ |
||
31 | 3 | public function isCommitMsg() |
|
35 | |||
36 | /** |
||
37 | * @return string |
||
38 | */ |
||
39 | 1 | public function getRegularExpression() |
|
43 | } |
||
44 |