PluginProbe
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder / 4.3.13
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder v4.3.13
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 3.6.66 All 195 releases
fluentform / app / Services / FormBuilder / GroupSetterProxy.php

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

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