update namespace

This commit is contained in:
KHOUBZA Younes
2020-12-03 09:15:47 +01:00
parent 4468c7e7e4
commit 529775dc81
7 changed files with 10 additions and 10 deletions
+3 -3
View File
@@ -2,9 +2,9 @@
namespace Flasher\Pnotify\Laravel\ServiceProvider\Providers;
use Flasher\Pnotify\Laravel\NotifyPnotifyServiceProvider;
use Flasher\Pnotify\LaravelFlasher\PrimePnotifyServiceProvider;
use Flasher\PFlasher\Prime\TestsProducer\PnotifyProducer;
use Flasher\PFlasher\Prime\TestsRenderer\PnotifyRenderer;
use Flasher\PFlasher\Prime\Renderer\PnotifyRenderer;
use Flasher\Prime\Flasher;
use Flasher\Prime\Renderer\RendererManager;
use Illuminate\Container\Container;
@@ -44,7 +44,7 @@ class Laravel implements ServiceProviderInterface
});
$this->app->alias('notify.producer.pnotify', 'Flasher\PFlasher\Prime\TestsProducer\PnotifyProducer');
$this->app->alias('notify.renderer.pnotify', 'Flasher\PFlasher\Prime\TestsRenderer\PnotifyRenderer');
$this->app->alias('notify.renderer.pnotify', 'Flasher\PFlasher\Prime\Renderer\PnotifyRenderer');
$this->app->extend('notify.producer', function (Flasher $manager, Container $app) {
$manager->addDriver('pnotify', $app['notify.producer.pnotify']);
+1 -1
View File
@@ -3,7 +3,7 @@
namespace Flasher\Pnotify\Laravel\ServiceProvider\Providers;
use Illuminate\Foundation\Application;
use Flasher\Pnotify\Laravel\NotifyPnotifyServiceProvider;
use Flasher\Pnotify\LaravelFlasher\PrimePnotifyServiceProvider;
final class Laravel4 extends Laravel
{
+1 -1
View File
@@ -3,7 +3,7 @@
namespace Flasher\Pnotify\Laravel\ServiceProvider\Providers;
use Laravel\Lumen\Application;
use Flasher\Pnotify\Laravel\NotifyPnotifyServiceProvider;
use Flasher\Pnotify\LaravelFlasher\PrimePnotifyServiceProvider;
final class Lumen extends Laravel
{
@@ -2,7 +2,7 @@
namespace Flasher\Pnotify\Laravel\ServiceProvider\Providers;
use Flasher\Pnotify\Laravel\NotifyPnotifyServiceProvider;
use Flasher\Pnotify\LaravelFlasher\PrimePnotifyServiceProvider;
interface ServiceProviderInterface
{
+1 -1
View File
@@ -2,7 +2,7 @@
namespace Flasher\Pnotify\Laravel\ServiceProvider;
use Flasher\Pnotify\Laravel\NotifyPnotifyServiceProvider;
use Flasher\Pnotify\LaravelFlasher\PrimePnotifyServiceProvider;
use Flasher\Pnotify\Laravel\ServiceProvider\Providers\ServiceProviderInterface;
final class ServiceProviderManager
+2 -2
View File
@@ -19,8 +19,8 @@ class TestCase extends Orchestra
protected function getPackageProviders($app = null)
{
return array(
'Flasher\Laravel\NotifyServiceProvider',
'Flasher\Pnotify\Laravel\NotifyPnotifyServiceProvider',
'Flasher\LaravelFlasher\PrimeServiceProvider',
'Flasher\Pnotify\LaravelFlasher\PrimePnotifyServiceProvider',
);
}
+1 -1
View File
@@ -48,7 +48,7 @@
"extra": {
"laravel": {
"providers": [
"Flasher\\Laravel\\Pnotify\\NotifyPnotifyServiceProvider"
"Flasher\\Laravel\\Pnotify\Flasher\PrimePnotifyServiceProvider"
]
}
},