fire -> handle
This commit is contained in:
parent
5a4e2b6b11
commit
f6eade56af
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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.');
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ class OctoberInstall extends Command
|
|||
/**
|
||||
* Execute the console command.
|
||||
*/
|
||||
public function fire()
|
||||
public function handle()
|
||||
{
|
||||
$this->displayIntro();
|
||||
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@ class OctoberMirror extends Command
|
|||
/**
|
||||
* Execute the console command.
|
||||
*/
|
||||
public function fire()
|
||||
public function handle()
|
||||
{
|
||||
$this->getDestinationPath();
|
||||
|
||||
|
|
|
|||
|
|
@ -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>');
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ class PluginRefresh extends Command
|
|||
* Execute the console command.
|
||||
* @return void
|
||||
*/
|
||||
public function fire()
|
||||
public function handle()
|
||||
{
|
||||
/*
|
||||
* Lookup plugin
|
||||
|
|
|
|||
|
|
@ -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');
|
||||
|
|
|
|||
|
|
@ -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');
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ class ThemeList extends Command
|
|||
/**
|
||||
* Execute the console command.
|
||||
*/
|
||||
public function fire()
|
||||
public function handle()
|
||||
{
|
||||
$themeManager = ThemeManager::instance();
|
||||
$updateManager = UpdateManager::instance();
|
||||
|
|
|
|||
|
|
@ -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');
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue