mirror of
https://github.com/php-flasher/php-flasher.git
synced 2026-03-31 23:17:47 +01:00
update namespace
This commit is contained in:
@@ -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']);
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
@@ -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
@@ -48,7 +48,7 @@
|
||||
"extra": {
|
||||
"laravel": {
|
||||
"providers": [
|
||||
"Flasher\\Laravel\\Pnotify\\NotifyPnotifyServiceProvider"
|
||||
"Flasher\\Laravel\\Pnotify\Flasher\PrimePnotifyServiceProvider"
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user