mirror of
https://github.com/koel/koel
synced 2024-12-24 03:23:06 +00:00
21 lines
347 B
PHP
21 lines
347 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\Values\SongStorageMetadata;
|
||
|
|
||
|
final class SftpMetadata extends SongStorageMetadata
|
||
|
{
|
||
|
private function __construct(public string $path)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
public static function make(string $key): self
|
||
|
{
|
||
|
return new self($key);
|
||
|
}
|
||
|
|
||
|
public function getPath(): string
|
||
|
{
|
||
|
return $this->path;
|
||
|
}
|
||
|
}
|