PluginProbe
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder / 3.6.21
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder v3.6.21
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 3.6.21, at app/Services/FormBuilder/GroupSetterProxy.php

39 lines 702 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 * @var string
10 */
11 protected $group = null;
12
13 /**
14 * FluentForm\App\Services\FormBuilder\Components
15 * @var object
16 */
17 protected $collection = null;
18
19 public function __construct($collection, $group)
20 {
21 $this->group = $group;
22 $this->collection = $collection;
23 }
24
25 /**
26 * Dynamic call method
27 * @param string $method
28 * @param array $params
29 * @return FluentForm\App\Services\FormBuilder\Components
30 */
31 public function __call($method, $params)
32 {
33 call_user_func_array([
34 $this->collection, $method
35 ], array_merge($params, [$this->group]));
36
37 return $this->collection;
38 }
39 }