PluginProbe
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder / 6.2.12
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder v6.2.12
6.2.14 6.2.13 6.2.12 6.2.10 6.2.11 6.2.9 6.2.8 6.2.7 6.2.6 6.2.5 6.2.4 6.2.3 6.2.2 3.6.22 3.6.31 3.6.40 3.6.41 3.6.42 3.6.50 3.6.51 3.6.60 3.6.61 3.6.62 3.6.64 3.6.65 All 196 releases
fluentform / app / Services / FormBuilder / GroupSetterProxy.php

GroupSetterProxy.php in Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder 6.2.12, at app/Services/FormBuilder/GroupSetterProxy.php

44 lines 864 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace FluentForm\App\Services\FormBuilder;
4
5 class GroupSetterProxy
6 {
7 /**
8 * Element group
9 *
10 * @var string
11 */
12 protected $group = null;
13
14 /**
15 * Form builder components collection
16 *
17 * @var \FluentForm\App\Services\FormBuilder\Components
18 */
19 protected $collection = null;
20
21 public function __construct($collection, $group)
22 {
23 $this->group = $group;
24 $this->collection = $collection;
25 }
26
27 /**
28 * Dynamic call method
29 *
30 * @param string $method
31 * @param array $params
32 *
33 * @return \FluentForm\App\Services\FormBuilder\Components
34 */
35 public function __call($method, $params)
36 {
37 call_user_func_array([
38 $this->collection, $method,
39 ], array_merge($params, [$this->group]));
40
41 return $this->collection;
42 }
43 }
44