1 | <?php namespace Arcanedev\NoCaptcha\Utilities; |
||
9 | class ResponseV2 extends AbstractResponse |
||
10 | { |
||
11 | /* ----------------------------------------------------------------- |
||
12 | | Main Methods |
||
13 | | ----------------------------------------------------------------- |
||
14 | */ |
||
15 | |||
16 | /** |
||
17 | * Build the response from an array. |
||
18 | * |
||
19 | * @param array $array |
||
20 | * |
||
21 | * @return \Arcanedev\NoCaptcha\Utilities\ResponseV2 |
||
22 | */ |
||
23 | 28 | public static function fromArray(array $array) |
|
37 | |||
38 | /** |
||
39 | * Convert the response object to array. |
||
40 | * |
||
41 | * @return array |
||
42 | */ |
||
43 | 12 | public function toArray() |
|
53 | } |
||
54 |