Changeset View
Changeset View
Standalone View
Standalone View
src/app/Console/Command.php
<?php | <?php | ||||
namespace App\Console; | namespace App\Console; | ||||
use Illuminate\Support\Facades\DB; | use Illuminate\Support\Facades\DB; | ||||
abstract class Command extends \Illuminate\Console\Command | abstract class Command extends \Illuminate\Console\Command | ||||
{ | { | ||||
/** | /** | ||||
* This needs to be here to be used. | * This needs to be here to be used. | ||||
* | * | ||||
* @var null | * @var string | ||||
*/ | */ | ||||
protected $commandPrefix = null; | protected $commandPrefix = ''; | ||||
/** | /** | ||||
* Annotate this command as being dangerous for any potential unintended consequences. | * Annotate this command as being dangerous for any potential unintended consequences. | ||||
* | * | ||||
* Commands are considered dangerous if; | * Commands are considered dangerous if; | ||||
* | * | ||||
* * observers are deliberately not triggered, meaning that the deletion of an object model that requires the | * * observers are deliberately not triggered, meaning that the deletion of an object model that requires the | ||||
* associated observer to clean some things up, or charge a wallet or something, are deliberately not triggered, | * associated observer to clean some things up, or charge a wallet or something, are deliberately not triggered, | ||||
▲ Show 20 Lines • Show All 240 Lines • Show Last 20 Lines |