koel/app/Values/SongStorageMetadata/LocalMetadata.php

21 lines
353 B
PHP
Raw Normal View History

<?php
namespace App\Values\SongStorageMetadata;
2024-02-05 11:50:06 +00:00
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;
}
}