Total Complexity | 2 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
4 | abstract class RespondableSelect extends AbstractDynamicSelect |
||
5 | { |
||
6 | /** |
||
7 | * Whether to include a response URL in submission payload. |
||
8 | * |
||
9 | * @var bool |
||
10 | */ |
||
11 | protected $response_url_enabled = false; |
||
12 | |||
13 | /** |
||
14 | * Get whether to include a response URL in submission payload. |
||
15 | * |
||
16 | * @return bool |
||
17 | */ |
||
18 | 3 | public function isResponseUrlEnabled() |
|
21 | } |
||
22 | |||
23 | /** |
||
24 | * Set whether to include a response URL in submission payload. |
||
25 | * |
||
26 | * @param bool $enabled |
||
27 | * |
||
28 | * @return $this |
||
29 | */ |
||
30 | 2 | public function setResponseUrlEnabled($enabled = true) |
|
37 |