@@ -11,14 +11,14 @@ discard block |
||
| 11 | 11 | class ApisGeneratorServiceProviders extends ServiceProvider |
| 12 | 12 | { |
| 13 | 13 | |
| 14 | - public function boot(){ |
|
| 14 | + public function boot() { |
|
| 15 | 15 | $this->registerFacades(); |
| 16 | 16 | $this->publishesPackages(); |
| 17 | 17 | $this->loadResource(); |
| 18 | 18 | |
| 19 | 19 | } |
| 20 | 20 | |
| 21 | - public function register(){ |
|
| 21 | + public function register() { |
|
| 22 | 22 | } |
| 23 | 23 | |
| 24 | 24 | /** |
@@ -34,16 +34,16 @@ discard block |
||
| 34 | 34 | */ |
| 35 | 35 | protected function registerFacades() |
| 36 | 36 | { |
| 37 | - $this->app->singleton("KMFileFacade" , function ($app){ |
|
| 37 | + $this->app->singleton("KMFileFacade", function($app) { |
|
| 38 | 38 | return new KMFile(); |
| 39 | 39 | }); |
| 40 | - $this->app->singleton("KMRoutesFacade" , function ($app){ |
|
| 40 | + $this->app->singleton("KMRoutesFacade", function($app) { |
|
| 41 | 41 | return new KMRoutes(); |
| 42 | 42 | }); |
| 43 | - $this->app->singleton("KMFunctionsFacade" , function ($app){ |
|
| 43 | + $this->app->singleton("KMFunctionsFacade", function($app) { |
|
| 44 | 44 | return new KMFunctions(); |
| 45 | 45 | }); |
| 46 | - $this->app->singleton("KMGeneratorCommandFacade" , function ($app){ |
|
| 46 | + $this->app->singleton("KMGeneratorCommandFacade", function($app) { |
|
| 47 | 47 | return new KMGeneratorCommand(); |
| 48 | 48 | }); |
| 49 | 49 | } |
@@ -59,7 +59,7 @@ discard block |
||
| 59 | 59 | $cssPath = "ApisGenerator/css"; |
| 60 | 60 | $this->publishes([ |
| 61 | 61 | __DIR__."/../Config/apis_generator.php" => config_path("apis_generator.php") |
| 62 | - ] , "apis-generator-config"); |
|
| 62 | + ], "apis-generator-config"); |
|
| 63 | 63 | |
| 64 | 64 | $this->publishes([ |
| 65 | 65 | $asset."create.blade.php" => resource_path("$views/create.blade.php"), |
@@ -68,7 +68,7 @@ discard block |
||
| 68 | 68 | $asset."_layouts.blade.php" => resource_path("$views/layouts/_layouts.blade.php"), |
| 69 | 69 | $asset."script.js" => public_path("$scriptPath/script.js"), |
| 70 | 70 | $asset."css.css" => public_path("$cssPath/css.css"), |
| 71 | - ] , "apis-generator-asset"); |
|
| 71 | + ], "apis-generator-asset"); |
|
| 72 | 72 | |
| 73 | 73 | } |
| 74 | 74 | |
@@ -43,6 +43,6 @@ |
||
| 43 | 43 | } |
| 44 | 44 | function getReservedNames() |
| 45 | 45 | { |
| 46 | - return KMGeneratorCommandFacade::getReservedNames(); |
|
| 46 | + return KMGeneratorCommandFacade::getReservedNames(); |
|
| 47 | 47 | } |
| 48 | 48 | } |