@@ -21,85 +21,85 @@ |
||
| 21 | 21 | // registerTestCommand |
| 22 | 22 | } |
| 23 | 23 | |
| 24 | - protected function registerModelCommand(){ |
|
| 25 | - $this->app->singleton('command.wn.model', function($app){ |
|
| 24 | + protected function registerModelCommand() { |
|
| 25 | + $this->app->singleton('command.wn.model', function($app) { |
|
| 26 | 26 | return $app['Wn\Generators\Commands\ModelCommand']; |
| 27 | 27 | }); |
| 28 | 28 | $this->commands('command.wn.model'); |
| 29 | 29 | } |
| 30 | 30 | |
| 31 | - protected function registerControllerRestActionsCommand(){ |
|
| 32 | - $this->app->singleton('command.wn.controller.rest-actions', function($app){ |
|
| 31 | + protected function registerControllerRestActionsCommand() { |
|
| 32 | + $this->app->singleton('command.wn.controller.rest-actions', function($app) { |
|
| 33 | 33 | return $app['Wn\Generators\Commands\ControllerRestActionsCommand']; |
| 34 | 34 | }); |
| 35 | 35 | $this->commands('command.wn.controller.rest-actions'); |
| 36 | 36 | } |
| 37 | 37 | |
| 38 | - protected function registerControllerCommand(){ |
|
| 39 | - $this->app->singleton('command.wn.controller', function($app){ |
|
| 38 | + protected function registerControllerCommand() { |
|
| 39 | + $this->app->singleton('command.wn.controller', function($app) { |
|
| 40 | 40 | return $app['Wn\Generators\Commands\ControllerCommand']; |
| 41 | 41 | }); |
| 42 | 42 | $this->commands('command.wn.controller'); |
| 43 | 43 | } |
| 44 | 44 | |
| 45 | - protected function registerMigrationCommand(){ |
|
| 46 | - $this->app->singleton('command.wn.migration', function($app){ |
|
| 45 | + protected function registerMigrationCommand() { |
|
| 46 | + $this->app->singleton('command.wn.migration', function($app) { |
|
| 47 | 47 | return $app['Wn\Generators\Commands\MigrationCommand']; |
| 48 | 48 | }); |
| 49 | 49 | $this->commands('command.wn.migration'); |
| 50 | 50 | } |
| 51 | 51 | |
| 52 | - protected function registerRouteCommand(){ |
|
| 53 | - $this->app->singleton('command.wn.route', function($app){ |
|
| 52 | + protected function registerRouteCommand() { |
|
| 53 | + $this->app->singleton('command.wn.route', function($app) { |
|
| 54 | 54 | return $app['Wn\Generators\Commands\RouteCommand']; |
| 55 | 55 | }); |
| 56 | 56 | $this->commands('command.wn.route'); |
| 57 | 57 | } |
| 58 | 58 | |
| 59 | - protected function registerTestCommand(){ |
|
| 60 | - $this->app->singleton('command.wn.test', function($app){ |
|
| 59 | + protected function registerTestCommand() { |
|
| 60 | + $this->app->singleton('command.wn.test', function($app) { |
|
| 61 | 61 | return $app['Wn\Generators\Commands\TestCommand']; |
| 62 | 62 | }); |
| 63 | 63 | $this->commands('command.wn.test'); |
| 64 | 64 | } |
| 65 | 65 | |
| 66 | - protected function registerResourceCommand(){ |
|
| 67 | - $this->app->singleton('command.wn.resource', function($app){ |
|
| 66 | + protected function registerResourceCommand() { |
|
| 67 | + $this->app->singleton('command.wn.resource', function($app) { |
|
| 68 | 68 | return $app['Wn\Generators\Commands\ResourceCommand']; |
| 69 | 69 | }); |
| 70 | 70 | $this->commands('command.wn.resource'); |
| 71 | 71 | } |
| 72 | 72 | |
| 73 | - protected function registerResourcesCommand(){ |
|
| 74 | - $this->app->singleton('command.wn.resources', function($app){ |
|
| 73 | + protected function registerResourcesCommand() { |
|
| 74 | + $this->app->singleton('command.wn.resources', function($app) { |
|
| 75 | 75 | return $app['Wn\Generators\Commands\ResourcesCommand']; |
| 76 | 76 | }); |
| 77 | 77 | $this->commands('command.wn.resources'); |
| 78 | 78 | } |
| 79 | 79 | |
| 80 | - protected function registerPivotTableCommand(){ |
|
| 81 | - $this->app->singleton('command.wn.pivot-table', function($app){ |
|
| 80 | + protected function registerPivotTableCommand() { |
|
| 81 | + $this->app->singleton('command.wn.pivot-table', function($app) { |
|
| 82 | 82 | return $app['Wn\Generators\Commands\PivotTableCommand']; |
| 83 | 83 | }); |
| 84 | 84 | $this->commands('command.wn.pivot-table'); |
| 85 | 85 | } |
| 86 | 86 | |
| 87 | - protected function registerFactoryCommand(){ |
|
| 88 | - $this->app->singleton('command.wn.factory', function($app){ |
|
| 87 | + protected function registerFactoryCommand() { |
|
| 88 | + $this->app->singleton('command.wn.factory', function($app) { |
|
| 89 | 89 | return $app['Wn\Generators\Commands\FactoryCommand']; |
| 90 | 90 | }); |
| 91 | 91 | $this->commands('command.wn.factory'); |
| 92 | 92 | } |
| 93 | 93 | |
| 94 | - protected function registerSeederCommand(){ |
|
| 95 | - $this->app->singleton('command.wn.seeder', function($app){ |
|
| 94 | + protected function registerSeederCommand() { |
|
| 95 | + $this->app->singleton('command.wn.seeder', function($app) { |
|
| 96 | 96 | return $app['Wn\Generators\Commands\SeederCommand']; |
| 97 | 97 | }); |
| 98 | 98 | $this->commands('command.wn.seeder'); |
| 99 | 99 | } |
| 100 | 100 | |
| 101 | - protected function registerPivotSeederCommand(){ |
|
| 102 | - $this->app->singleton('command.wn.pivot.seeder', function($app){ |
|
| 101 | + protected function registerPivotSeederCommand() { |
|
| 102 | + $this->app->singleton('command.wn.pivot.seeder', function($app) { |
|
| 103 | 103 | return $app['Wn\Generators\Commands\PivotSeederCommand']; |
| 104 | 104 | }); |
| 105 | 105 | $this->commands('command.wn.pivot.seeder'); |
@@ -5,8 +5,6 @@ |
||
| 5 | 5 | // You should not change it manually as it will be overwritten on next build |
| 6 | 6 | // @codingStandardsIgnoreFile |
| 7 | 7 | |
| 8 | -use Helper\Functional; |
|
| 9 | - |
|
| 10 | 8 | trait FunctionalTesterActions |
| 11 | 9 | { |
| 12 | 10 | /** |