Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
FabrizioCafolla committed Aug 24, 2019
1 parent 481f205 commit 6c90192
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"require": {
"php": "^7.1.3",
"league/fractal": "^0.18.0",
"kosmosx/helpers": "1.0.*"
"kosmosx/helpers": "~1.0"
},

"require-dev": {},
Expand Down
4 changes: 2 additions & 2 deletions src/SupportServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ class SupportServiceProvider extends ServiceProvider
*/
public function register()
{
$this->app->alias(\Kosmosx\Support\Discovery\DiscoveryFacade::class, 'Discovery');
$this->app->alias(\Kosmosx\Support\Api\ApiFacade::class, 'Api');
register_alias(\Kosmosx\Support\Discovery\DiscoveryFacade::class, 'Discovery');
register_alias(\Kosmosx\Support\Api\ApiFacade::class, 'Api');

$this->app->bind('service.api', 'Kosmosx\Support\Api\ApiService');
$this->app->singleton('service.discovery', 'Kosmosx\Support\Discovery\DiscoveryService');
Expand Down

0 comments on commit 6c90192

Please sign in to comment.