mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-11-13 09:38:48 +01:00
24 lines
500 B
PHP
24 lines
500 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Actions\Http\Wiki\Audio;
|
|
|
|
use App\Actions\Http\ResponseStreamAction;
|
|
use App\Constants\Config\AudioConstants;
|
|
use App\Models\Wiki\Audio;
|
|
use Illuminate\Support\Facades\Config;
|
|
|
|
class AudioResponseStreamAction extends ResponseStreamAction
|
|
{
|
|
public function __construct(Audio $audio)
|
|
{
|
|
parent::__construct($audio);
|
|
}
|
|
|
|
public function disk(): string
|
|
{
|
|
return Config::get(AudioConstants::DEFAULT_DISK_QUALIFIED);
|
|
}
|
|
}
|