Files
animethemes-server/app/Console/Commands/Repositories/Storage/Wiki/AudioReconcileCommand.php
T
paranarimasuandGitHub 1d93000c6f feat(admin): migrate db dumps from github to platform (#463)
* feat(admin): migrate db dumps from github to platform

* style: fix StyleCI findings
2022-09-18 22:31:29 -05:00

44 lines
1.1 KiB
PHP

<?php
declare(strict_types=1);
namespace App\Console\Commands\Repositories\Storage\Wiki;
use App\Concerns\Repositories\Wiki\ReconcilesAudioRepositories;
use App\Console\Commands\Repositories\Storage\StorageReconcileCommand;
use App\Constants\Config\AudioConstants;
use Illuminate\Support\Facades\Config;
/**
* Class AudioReconcileCommand.
*/
class AudioReconcileCommand extends StorageReconcileCommand
{
use ReconcilesAudioRepositories;
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'reconcile:audio
{--path= : The directory of audios to reconcile. Ex: 2022/Spring/. If unspecified, all directories will be listed.}';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Perform set reconciliation between object storage and audios database';
/**
* The name of the disk.
*
* @return string
*/
public function disk(): string
{
return Config::get(AudioConstants::DEFAULT_DISK_QUALIFIED);
}
}