Total Complexity | 4 |
Total Lines | 41 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | abstract class Confirmable extends BlockElement |
||
9 | { |
||
10 | /** |
||
11 | * Confirmation object. |
||
12 | * |
||
13 | * @var \Maknz\Slack\Object\Confirmation |
||
14 | */ |
||
15 | protected $confirm; |
||
16 | |||
17 | /** |
||
18 | * Get the confirmation object. |
||
19 | * |
||
20 | * @return \Maknz\Slack\Object\Confirmation |
||
21 | */ |
||
22 | 16 | public function getConfirm() |
|
25 | } |
||
26 | |||
27 | /** |
||
28 | * Set the confirmation object. |
||
29 | * |
||
30 | * @param mixed $confirm |
||
31 | * |
||
32 | * @return $this |
||
33 | * |
||
34 | * @throws \InvalidArgumentException |
||
35 | */ |
||
36 | 10 | public function setConfirm($confirm) |
|
51 |