From 28e2f2c50c902d6ea09b2d6941c9e71ea07b23eb Mon Sep 17 00:00:00 2001
From: Sam Light <sam@lightscale.co.uk>
Date: Mon, 31 Mar 2025 00:49:13 +0100
Subject: Created files for files to load

---
 src/StyleFile.php | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 src/StyleFile.php

(limited to 'src/StyleFile.php')

diff --git a/src/StyleFile.php b/src/StyleFile.php
new file mode 100644
index 0000000..ea3e425
--- /dev/null
+++ b/src/StyleFile.php
@@ -0,0 +1,17 @@
+<?php
+
+namespace Lightscale\LaralightAssets;
+
+class StyleFile extends File
+{
+    public function __construct(string $path)
+    {
+        $this->setPath($path);
+    }
+
+    public function toHtml(): string
+    {
+        $path = $this->getPath();
+        return "<link type=\"text/css\" rel=\"stylesheet\" href=\"{$path}\" />";
+    }
+}
-- 
cgit v1.2.3