Changeset View
Changeset View
Standalone View
Standalone View
src/app/Console/Commands/Group/CreateCommand.php
<?php | <?php | ||||
namespace App\Console\Commands\Group; | namespace App\Console\Commands\Group; | ||||
use App\Console\Command; | use App\Console\Command; | ||||
use App\Group; | use App\Group; | ||||
use App\Http\Controllers\API\V4\GroupsController; | use App\Http\Controllers\API\V4\GroupsController; | ||||
use Illuminate\Support\Facades\DB; | use Illuminate\Support\Facades\DB; | ||||
/** | |||||
* Create a (mail-enabled) distribution group. | |||||
* | |||||
* @see \App\Console\Commands\Scalpel\Group\CreateCommand | |||||
*/ | |||||
class CreateCommand extends Command | class CreateCommand extends Command | ||||
{ | { | ||||
/** | /** | ||||
* The name and signature of the console command. | * The name and signature of the console command. | ||||
* | * | ||||
* @var string | * @var string | ||||
*/ | */ | ||||
protected $signature = 'group:create {email} {--member=*}'; | protected $signature = 'group:create {email} {--member=*}'; | ||||
▲ Show 20 Lines • Show All 67 Lines • Show Last 20 Lines |