Skip to content

Commit

Permalink
Update Commands for new Lumen version
Browse files Browse the repository at this point in the history
  • Loading branch information
rjmackay committed Oct 30, 2017
1 parent a26e7cf commit facca1b
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/Console/Command/ConfigGet.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public function __construct()
->setFormatter(service('formatter.entity.console'));
}

public function fire()
public function handle()
{
$group = $this->argument('group');

Expand Down
2 changes: 1 addition & 1 deletion src/Console/Command/ConfigSet.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public function __construct()
*
* @return void
*/
public function fire()
public function handle()
{
$group = $this->argument('group');
$key = $this->option('key');
Expand Down
2 changes: 1 addition & 1 deletion src/Console/Command/DataproviderIncoming.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ protected function getProviders()
return $providers;
}

public function fire()
public function handle()
{
$providers = $this->getProviders();
$limit = $this->option('limit');
Expand Down
2 changes: 1 addition & 1 deletion src/Console/Command/DataproviderList.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ protected function getProviders()
return $providers;
}

public function fire()
public function handle()
{
$providers = $this->getProviders();

Expand Down
2 changes: 1 addition & 1 deletion src/Console/Command/DataproviderOutgoing.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ protected function getProviders()
return $providers;
}

public function fire()
public function handle()
{
$providers = $this->getProviders();
$limit = $this->option('limit');
Expand Down
2 changes: 1 addition & 1 deletion src/Console/Command/Import.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ protected function getReader($type)
return $this->readerMap[$type]();
}

public function fire()
public function handle()
{
// Get the filename
$filename = $this->option('file');
Expand Down
2 changes: 1 addition & 1 deletion src/Console/Command/Notification.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public function __construct()
$this->clientUrl = service('clienturl');
}

public function fire()
public function handle()
{
$limit = $this->option('limit');

Expand Down
2 changes: 1 addition & 1 deletion src/Console/Command/PostExporter.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public function __construct()
$this->postExportRepository = service('repository.posts_export');
}

public function fire()
public function handle()
{
$data = $this->data->get('search');

Expand Down
2 changes: 1 addition & 1 deletion src/Console/Command/SavedSearch.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public function __construct()
$this->messageRepository = service('repository.message');
}

public function fire()
public function handle()
{
$count = 0;

Expand Down
2 changes: 1 addition & 1 deletion src/Console/Command/UserCreate.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function __construct()
$this->validator = service('factory.validator')->get('users', 'create');
}

public function fire()
public function handle()
{
$state = [
'realname' => $this->option('realname') ?: null,
Expand Down
2 changes: 1 addition & 1 deletion src/Console/Command/UserDelete.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public function __construct()
$this->repo = service('repository.user');
}

public function fire()
public function handle()
{
$email = $this->option('email');

Expand Down
2 changes: 1 addition & 1 deletion src/Console/Command/Webhook.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public function __construct()
$this->webhookJobRepository = service('repository.webhook.job');
}

public function fire()
public function handle()
{
$this->client = new \GuzzleHttp\Client();

Expand Down

0 comments on commit facca1b

Please sign in to comment.