Skip to content

Commit

Permalink
fixed package
Browse files Browse the repository at this point in the history
  • Loading branch information
FabrizioCafolla committed Apr 28, 2019
1 parent 78d3baf commit 19e1ae1
Show file tree
Hide file tree
Showing 15 changed files with 9 additions and 14 deletions.
4 changes: 2 additions & 2 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@

**Laravel / Lumen register providers**

Kosmosx\Laravel\ResponseServiceProvider
Kosmosx\Response\Laravel\ResponseServiceProvider

**Register handler Execptions (LaravelHandler or LumenHandler)**

$this->app->singleton(
\Illuminate\Contracts\Debug\ExceptionHandler::class,
\Kosmosx\Laravel\Exceptions\.....::class
\Kosmosx\Response\Laravel\Exceptions\.....::class
);

**Use**
Expand Down
7 changes: 1 addition & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,9 @@
"symfony/http-kernel": "^4.2"
},

"replace": {
"Kosmosx/laravel": "self.version",
"Kosmosx/response": "self.version"
},

"autoload": {
"psr-4": {
"Kosmosx\\": "src/"
"Kosmosx\\Response\\": "src/"
}
},

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/Laravel/Exceptions/LaravelHandler.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Kosmosx\Laravel\Exceptions;
namespace Kosmosx\Response\Laravel\Exceptions;

use Exception;
use Illuminate\Validation\ValidationException;
Expand Down
2 changes: 1 addition & 1 deletion src/Laravel/Exceptions/LumenHandler.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Kosmosx\Laravel\Exceptions;
namespace Kosmosx\Response\Laravel\Exceptions;

use Exception;
use Illuminate\Validation\ValidationException;
Expand Down
2 changes: 1 addition & 1 deletion src/Laravel/Facades/FactoryResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Date: 09/08/18
* Time: 17.42
*/
namespace Kosmosx\Laravel\Facades;
namespace Kosmosx\Response\Laravel\Facades;

use Illuminate\Support\Facades\Facade;

Expand Down
4 changes: 2 additions & 2 deletions src/Laravel/Providers/ResponseServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* Time: 13.19
*/

namespace Kosmosx\Laravel\Providers;
namespace Kosmosx\Response\Laravel\Providers;

use Illuminate\Support\ServiceProvider;

Expand All @@ -28,7 +28,7 @@ public function register()
*/
protected function registerAlias()
{
class_alias(\Kosmosx\Laravel\Facades\FactoryResponse::class, 'FactoryResponse');
class_alias(\Kosmosx\Response\Laravel\Facades\FactoryResponse::class, 'FactoryResponse');
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Laravel/Traits/ModelREST.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* Time: 13.42
*/

namespace Kosmosx\Laravel\Traits;
namespace Kosmosx\Response\Laravel\Traits;

use Illuminate\Support\Facades\URL;

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 19e1ae1

Please sign in to comment.