mirror of
https://github.com/superhelio/commands.git
synced 2026-01-30 06:46:27 +00:00
New command: superhelio:gozer, the Destroyer
This commit is contained in:
@@ -30,6 +30,7 @@ class ServiceProvider extends BaseServiceProvider
|
||||
public function register()
|
||||
{
|
||||
$this->registerReloader();
|
||||
$this->registerGozer();
|
||||
}
|
||||
|
||||
private function registerReloader()
|
||||
@@ -39,4 +40,12 @@ class ServiceProvider extends BaseServiceProvider
|
||||
});
|
||||
$this->commands('command.superhelio.reload');
|
||||
}
|
||||
|
||||
private function registerGozer()
|
||||
{
|
||||
$this->app->singleton('command.superhelio.gozer', function ($app) {
|
||||
return $app['Superhelio\Commands\Commands\Gozer'];
|
||||
});
|
||||
$this->commands('command.superhelio.gozer');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user