# fluentform/3.6.64/app/Services/FormBuilder/GroupSetterProxy.php

Fluent Forms – Customizable Contact Forms, Survey, Quiz, &amp; Conversational Form Builder, version 3.6.64. 39 lines.

- Page: https://pluginprobe.com/plugins/fluentform/3.6.64/code/app/Services/FormBuilder/GroupSetterProxy.php
- Raw: https://pluginprobe.com/plugins/fluentform/3.6.64/raw/app/Services/FormBuilder/GroupSetterProxy.php
- Modified: 2017-12-29T16:40:50+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/fluentform/3.6.64/code/app/Services/FormBuilder/GroupSetterProxy.php#L10-L20`.

```php
<?php

namespace FluentForm\App\Services\FormBuilder;

class GroupSetterProxy
{
	/**
	 * Element group
	 * @var string
	 */
	protected $group = null;

	/**
	 * FluentForm\App\Services\FormBuilder\Components
	 * @var object
	 */
	protected $collection = null;

	public function __construct($collection, $group)
	{
		$this->group = $group;
		$this->collection = $collection;
	}

	/**
	 * Dynamic call method
	 * @param  string $method
	 * @param  array $params
	 * @return FluentForm\App\Services\FormBuilder\Components
	 */
	public function __call($method, $params)
	{
		call_user_func_array([
			$this->collection, $method
		], array_merge($params, [$this->group]));
		
		return $this->collection;
	}
}
```
