Files
php-flasher/FlasherToastrServiceProvider.php
T
Khoubza Younes f84b0078c2 update namespaces
2020-12-06 17:29:32 +01:00

64 lines
1.3 KiB
PHP

<?php
namespace Flasher\Toastr\Laravel;
use Illuminate\Contracts\Support\DeferrableProvider;
use Illuminate\Support\ServiceProvider;
use Flasher\Toastr\Laravel\ServiceProvider\ServiceProviderManager;
final class FlasherToastrServiceProvider extends ServiceProvider
{
public function boot()
{
$manager = new ServiceProviderManager($this);
$manager->boot();
}
/**
* Register the service provider.
*/
public function register()
{
$manager = new ServiceProviderManager($this);
$manager->register();
}
/**
* Get the services provided by the provider.
*
* @return string[]
*/
public function provides()
{
return array(
'flasher.factory',
'flasher.factory.toastr',
'flasher.renderer.toastr',
);
}
/**
* @return \Illuminate\Container\Container
*/
public function getApplication()
{
return $this->app;
}
/**
* {@inheritdoc}
*/
public function mergeConfigFrom($path, $key)
{
parent::mergeConfigFrom($path, $key);
}
/**
* {@inheritdoc}
*/
public function publishes(array $paths, $groups = null)
{
parent::publishes($paths, $groups);
}
}