From 13251ac8b42de574f731169ba8916620da019c18 Mon Sep 17 00:00:00 2001 From: mishu Date: Mon, 5 May 2025 17:04:16 +0300 Subject: [PATCH] adds url resource --- src/Http/Resources/Url.php | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/Http/Resources/Url.php diff --git a/src/Http/Resources/Url.php b/src/Http/Resources/Url.php new file mode 100644 index 0000000..f174d88 --- /dev/null +++ b/src/Http/Resources/Url.php @@ -0,0 +1,20 @@ + $this->id, + 'path' => $this->path(), + 'url' => "{$appUrl}/{$this->path()}", + ]; + } +}