Файловый менеджер - Редактировать - /home/kckglobal/public_html/portal/Modules/UniversalBundle/Modules/Asset/Console/ActivateModuleCommand.php
Назад
<?php namespace Modules\Asset\Console; use App\Models\Company; use Illuminate\Console\Command; use Modules\Asset\Entities\AssetSetting; class ActivateModuleCommand extends Command { /** * The name and signature of the console command. * * @var string */ protected $name = 'asset: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) { AssetSetting::addModuleSetting($company); } } }
| ver. 1.4 |
Github
|
.
| PHP 8.2.28 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка