Current Path : /storage/v11800/weinfluence-new/public_html/wp-content/plugins/fluentform/boot/ |
Linux v11800 5.3.0-1023-aws #25~18.04.1-Ubuntu SMP Fri Jun 5 15:19:18 UTC 2020 aarch64
|
Current File : /storage/v11800/weinfluence-new/public_html/wp-content/plugins/fluentform/boot/bindings.php |
<?php
use FluentForm\App\Services\FormBuilder\Components;
use FluentForm\App\Services\FormBuilder\FormBuilder;
use FluentForm\App\Services\WPAsync\FluentFormAsyncRequest;
/**
* Add only the plugin specific bindings here.
*
* $app
* @var \FluentForm\Framework\Foundation\Application
*/
// Bind the Form Builder to the App instance.
$app->bind('formBuilder', function ($app) {
return new FormBuilder($app);
});
$app->singleton('components', function($app) {
return new Components(fluentformLoadFile('Services/FormBuilder/DefaultElements.php'));
});
$app->bind('fluentFormAsyncRequest', function ($app) {
return new FluentFormAsyncRequest($app);
});