mirror of
https://github.com/koel/koel
synced 2024-12-22 18:43:21 +00:00
22 lines
420 B
PHP
22 lines
420 B
PHP
<?php
|
|
|
|
namespace App\Values\SongStorageMetadata;
|
|
|
|
use App\Values\SongStorageMetadata\Contracts\SongStorageMetadata;
|
|
|
|
final class LocalMetadata implements 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;
|
|
}
|
|
}
|