mirror of
https://github.com/koel/koel
synced 2024-12-29 22:13:06 +00:00
20 lines
347 B
PHP
20 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;
|
|
}
|
|
}
|