1 | <?php |
||
5 | class Confirm |
||
6 | { |
||
7 | /** |
||
8 | * @var bool |
||
9 | */ |
||
10 | private $ok; |
||
11 | |||
12 | /** |
||
13 | * @var int |
||
14 | */ |
||
15 | private $deliveryTag; |
||
16 | |||
17 | /** |
||
18 | * @var bool |
||
19 | */ |
||
20 | private $multiple = false; |
||
21 | |||
22 | /** |
||
23 | * @param bool $ok |
||
24 | * @param int $deliveryTag |
||
25 | * @param bool $multiple |
||
26 | */ |
||
27 | 3 | public function __construct($ok, $deliveryTag, $multiple) |
|
33 | |||
34 | /** |
||
35 | * @return bool |
||
36 | */ |
||
37 | public function isOk() |
||
41 | |||
42 | /** |
||
43 | * @return int |
||
44 | */ |
||
45 | 1 | public function getDeliveryTag() |
|
49 | |||
50 | /** |
||
51 | * @return bool |
||
52 | */ |
||
53 | 1 | public function isMultiple() |
|
57 | } |
||
58 |