Файловый менеджер - Редактировать - /home/kckglobal/public_html/portal/Modules/UniversalBundle/Modules/Recruit/Console/ActivateModuleCommand.php
Назад
<?php namespace Modules\Recruit\Console; use App\Models\Company; use Illuminate\Console\Command; use Modules\Recruit\Entities\RecruitSetting; class ActivateModuleCommand extends Command { /** * The name and signature of the console command. * * @var string */ protected $name = 'recruit:activate'; /** * The console command description. * * @var string */ protected $description = 'Add all the module settings of asset module'; /** * Execute the console command. * * @return mixed */ public function handle() { $companies = Company::all(); foreach ($companies as $company) { RecruitSetting::addModuleSetting($company); } } }
| ver. 1.4 |
Github
|
.
| PHP 8.2.28 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка