mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-07-11 01:24:46 +02:00
27 lines
545 B
PHP
27 lines
545 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Actions\Http\Wiki\Video;
|
|
|
|
use App\Actions\Http\ResponseStreamAction;
|
|
use App\Constants\Config\VideoConstants;
|
|
use App\Models\Wiki\Video;
|
|
use Illuminate\Support\Facades\Config;
|
|
|
|
class VideoResponseStreamAction extends ResponseStreamAction
|
|
{
|
|
public function __construct(Video $video)
|
|
{
|
|
parent::__construct($video);
|
|
}
|
|
|
|
/**
|
|
* The name of the disk.
|
|
*/
|
|
public function disk(): string
|
|
{
|
|
return Config::get(VideoConstants::DEFAULT_DISK_QUALIFIED);
|
|
}
|
|
}
|