mirror of
https://github.com/brufdev/many-notes.git
synced 2026-01-24 20:09:50 -06:00
19 lines
271 B
PHP
19 lines
271 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Actions;
|
|
|
|
use App\Models\User;
|
|
|
|
final readonly class GetPathFromUser
|
|
{
|
|
public function handle(User $user): string
|
|
{
|
|
return sprintf(
|
|
'private/vaults/%u/',
|
|
$user->id,
|
|
);
|
|
}
|
|
}
|