# fluentform/3.6.22/app/Providers/AdminNoticeProvider.php

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

- Page: https://pluginprobe.com/plugins/fluentform/3.6.22/code/app/Providers/AdminNoticeProvider.php
- Raw: https://pluginprobe.com/plugins/fluentform/3.6.22/raw/app/Providers/AdminNoticeProvider.php
- Modified: 2018-01-24T15:32:52+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.22/code/app/Providers/AdminNoticeProvider.php#L10-L20`.

```php
<?php

namespace FluentForm\App\Providers;

use FluentForm\App\Services\AdminNotices;
use FluentForm\Framework\Foundation\Provider;

class AdminNoticeProvider extends Provider
{
	/**
     * The provider booting method to boot this provider
     * @return void
     */
	public function booting()
    {
        $this->app->bindSingleton('adminNotice', function($app) {
        	return new AdminNotices($this->app);
        }, 'AdminNotice');
    }

    /**
     * The provider booted method to be called after booting
     * @return void
     */
	public function booted()
    {
    	// ...
    }
}
```
