PluginProbe
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder / 5.2.1
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder v5.2.1
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 / boot / bindings.php

bindings.php in Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder 5.2.1, at boot/bindings.php

26 lines 669 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 use FluentForm\App\Services\FormBuilder\Components;
4 use FluentForm\App\Services\FormBuilder\FormBuilder;
5 use FluentForm\App\Services\WPAsync\FluentFormAsyncRequest;
6
7 /**
8 * Add only the plugin specific bindings here.
9 *
10 * $app
11 * @var \FluentForm\Framework\Foundation\Application
12 */
13
14 // Bind the Form Builder to the App instance.
15 $app->bind('formBuilder', function ($app) {
16 return new FormBuilder($app);
17 });
18
19 $app->singleton('components', function($app) {
20 return new Components(fluentformLoadFile('Services/FormBuilder/DefaultElements.php'));
21 });
22
23 $app->bind('fluentFormAsyncRequest', function ($app) {
24 return new FluentFormAsyncRequest($app);
25 });
26