blob: b1c44490b3ee440669321cd87e509e3951801de2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
<?php
namespace Lightscale\LaralightAssets;
class ScriptFile extends File
{
public function toHtml(): string
{
$path = $this->getUrl();
return "<script src=\"{$path}\"></script>";
}
}
|