File manager - Edit - /var/www/payraty/hris/vendor/nwidart/laravel-modules/src/Commands/Publish/PublishCommand.php
Back
<?php namespace Nwidart\Modules\Commands\Publish; use Nwidart\Modules\Commands\BaseCommand; use Nwidart\Modules\Publishing\AssetPublisher; class PublishCommand extends BaseCommand { /** * The console command name. * * @var string */ protected $name = 'module:publish'; /** * The console command description. * * @var string */ protected $description = 'Publish a module\'s assets to the application'; public function executeAction($name): void { $module = $this->getModuleModel($name); $this->components->task("Publishing Assets <fg=cyan;options=bold>{$module->getName()}</> Module", function () use ($module) { with(new AssetPublisher($module)) ->setRepository($this->laravel['modules']) ->setConsole($this) ->publish(); }); } public function getInfo(): ?string { return 'Publishing module asset files ...'; } }
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings