1 | <?php |
||
9 | class Recaptcha |
||
10 | { |
||
11 | /** |
||
12 | * @var array |
||
13 | */ |
||
14 | protected $config; |
||
15 | |||
16 | /** |
||
17 | * @var GoogleReCaptcha |
||
18 | */ |
||
19 | protected $recaptcha; |
||
20 | |||
21 | /** |
||
22 | * @param array $config |
||
23 | */ |
||
24 | public function __construct(array $config) |
||
30 | |||
31 | /** |
||
32 | * @param array $options |
||
33 | * |
||
34 | * @return mixed |
||
35 | */ |
||
36 | public function render($options = []) |
||
48 | |||
49 | /** |
||
50 | * @param \Illuminate\Http\Request $request |
||
51 | * |
||
52 | * @return bool |
||
53 | */ |
||
54 | public function verify(Request $request) |
||
58 | |||
59 | /** |
||
60 | * @param array $options |
||
61 | * |
||
62 | * @return array |
||
63 | */ |
||
64 | protected function filterOptions(array $options = []) |
||
74 | |||
75 | /** |
||
76 | * @param array $options |
||
77 | * |
||
78 | * @return array|string |
||
79 | */ |
||
80 | protected function buildOptions(array $options = []) |
||
92 | } |
||
93 |