fire -> handle

This commit is contained in:
Samuel Georges 2017-07-14 16:28:47 +10:00
parent 5a4e2b6b11
commit f6eade56af
15 changed files with 15 additions and 15 deletions

View File

@ -38,7 +38,7 @@ class OctoberDown extends Command
/**
* Execute the console command.
*/
public function fire()
public function handle()
{
if (!$this->confirmToProceed('This will DESTROY all database tables.')) {
return;

View File

@ -45,7 +45,7 @@ class OctoberEnv extends Command
/**
* Execute the console command.
*/
public function fire()
public function handle()
{
if (file_exists('.env')) {
return $this->error('.env file already exists.');

View File

@ -40,7 +40,7 @@ class OctoberFresh extends Command
/**
* Execute the console command.
*/
public function fire()
public function handle()
{
if (!$this->confirmToProceed('Are you sure?')) {
return;

View File

@ -60,7 +60,7 @@ class OctoberInstall extends Command
/**
* Execute the console command.
*/
public function fire()
public function handle()
{
$this->displayIntro();

View File

@ -82,7 +82,7 @@ class OctoberMirror extends Command
/**
* Execute the console command.
*/
public function fire()
public function handle()
{
$this->getDestinationPath();

View File

@ -36,7 +36,7 @@ class OctoberUp extends Command
/**
* Execute the console command.
*/
public function fire()
public function handle()
{
$this->output->writeln('<info>Migrating application and plugins...</info>');

View File

@ -41,7 +41,7 @@ class OctoberUpdate extends Command
/**
* Execute the console command.
*/
public function fire()
public function handle()
{
$this->output->writeln('<info>Updating October...</info>');
$manager = UpdateManager::instance()->setNotesOutput($this->output);

View File

@ -53,7 +53,7 @@ class OctoberUtil extends Command
/**
* Execute the console command.
*/
public function fire()
public function handle()
{
$command = implode(' ', (array) $this->argument('name'));
$method = 'util'.studly_case($command);

View File

@ -42,7 +42,7 @@ class PluginInstall extends Command
* Execute the console command.
* @return void
*/
public function fire()
public function handle()
{
$pluginName = $this->argument('name');
$manager = UpdateManager::instance()->setNotesOutput($this->output);

View File

@ -43,7 +43,7 @@ class PluginRefresh extends Command
* Execute the console command.
* @return void
*/
public function fire()
public function handle()
{
/*
* Lookup plugin

View File

@ -46,7 +46,7 @@ class PluginRemove extends Command
* Execute the console command.
* @return void
*/
public function fire()
public function handle()
{
$pluginManager = PluginManager::instance();
$pluginName = $this->argument('name');

View File

@ -43,7 +43,7 @@ class ThemeInstall extends Command
* Execute the console command.
* @return void
*/
public function fire()
public function handle()
{
$themeName = $this->argument('name');
$argDirName = $this->argument('dirName');

View File

@ -37,7 +37,7 @@ class ThemeList extends Command
/**
* Execute the console command.
*/
public function fire()
public function handle()
{
$themeManager = ThemeManager::instance();
$updateManager = UpdateManager::instance();

View File

@ -45,7 +45,7 @@ class ThemeRemove extends Command
* Execute the console command.
* @return void
*/
public function fire()
public function handle()
{
$themeManager = ThemeManager::instance();
$themeName = $this->argument('name');

View File

@ -42,7 +42,7 @@ class ThemeUse extends Command
* Execute the console command.
* @return void
*/
public function fire()
public function handle()
{
if (!$this->confirmToProceed('Change the active theme?')) {
return;