Skip to content

Commit

Permalink
remove create command
Browse files Browse the repository at this point in the history
  • Loading branch information
skidu committed Dec 15, 2016
1 parent e006432 commit c0620a5
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 39 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "skidu/LaraWorker",
"name": "skidu/laraworker",
"license": "MIT",
"description": "Workerman for Laravel 5",
"require": {
Expand Down
29 changes: 0 additions & 29 deletions src/Commands/CreateCommand.php

This file was deleted.

9 changes: 0 additions & 9 deletions src/LaraWorkerProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,22 +21,13 @@ public function boot()
*/
public function register()
{
$this->registerCmdCreate();
$this->registerCmdStart();
$this->registerCmdRestart();
$this->registerCmdStop();
$this->registerCmdReload();
$this->registerCmdStatus();
}

protected function registerCmdCreate()
{
$this->app->singleton('command.worker.create', function($app){
return $app['\Skidu\LaraWorker\Commands\CreateCommand'];
});
$this->commands('command.worker.create');
}

protected function registerCmdStart()
{
$this->app->singleton('command.worker.start', function($app){
Expand Down

0 comments on commit c0620a5

Please sign in to comment.