mirror of
https://github.com/koel/koel
synced 2024-12-18 16:44:03 +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;
|
|
}
|
|
}
|