mirror of
https://github.com/koel/koel
synced 2024-12-01 08:19:18 +00:00
20 lines
349 B
PHP
20 lines
349 B
PHP
<?php
|
|
|
|
namespace App\Values\SongStorageMetadata;
|
|
|
|
class DropboxMetadata implements SongStorageMetadata
|
|
{
|
|
private function __construct(public string $path)
|
|
{
|
|
}
|
|
|
|
public static function make(string $key): self
|
|
{
|
|
return new static($key);
|
|
}
|
|
|
|
public function getPath(): string
|
|
{
|
|
return $this->path;
|
|
}
|
|
}
|