Changeset View
Changeset View
Standalone View
Standalone View
src/app/Console/Commands/Scalpel/Entitlement/CreateCommand.php
<?php | <?php | ||||
namespace App\Console\Commands\Scalpel\Entitlement; | namespace App\Console\Commands\Scalpel\Entitlement; | ||||
use App\Console\ObjectCreateCommand; | use App\Console\ObjectCreateCommand; | ||||
class CreateCommand extends ObjectCreateCommand | class CreateCommand extends ObjectCreateCommand | ||||
{ | { | ||||
protected $hidden = true; | |||||
protected $commandPrefix = 'scalpel'; | protected $commandPrefix = 'scalpel'; | ||||
protected $objectClass = \App\Entitlement::class; | protected $objectClass = \App\Entitlement::class; | ||||
protected $objectName = 'entitlement'; | protected $objectName = 'entitlement'; | ||||
protected $objectTitle = null; | protected $objectTitle = null; | ||||
public function handle() | public function handle() | ||||
{ | { | ||||
$this->properties = $this->getProperties(); | $this->properties = $this->getProperties(); | ||||
Show All 40 Lines |