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