diff options
author | RoscoeDeWah <roscoe@wah.moe> | 2025-01-16 13:42:14 +0000 |
---|---|---|
committer | RoscoeDeWah <roscoe@wah.moe> | 2025-01-16 13:42:14 +0000 |
commit | da992ff1b780bf687ba2093d36c2def943296ec5 (patch) | |
tree | 28d4c656da316becfaf8ba81b7541d03abb188ae /app/View/Components/LastFMTrack.php | |
parent | a349858a7d55e66b51b56063af5306d3a5652bb9 (diff) |
Remove unused stuff
Diffstat (limited to 'app/View/Components/LastFMTrack.php')
-rw-r--r-- | app/View/Components/LastFMTrack.php | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/app/View/Components/LastFMTrack.php b/app/View/Components/LastFMTrack.php new file mode 100644 index 0000000..737b5e3 --- /dev/null +++ b/app/View/Components/LastFMTrack.php @@ -0,0 +1,29 @@ +<?php + +namespace App\View\Components; + +use Closure; +use Illuminate\Contracts\View\View; +use Illuminate\View\Component; + +class LastFMTrack extends Component +{ + public $track; + public $count; + /** + * Create a new component instance. + */ + public function __construct($track, $count) + { + $this->track = $track; + $this->count = $count; + } + + /** + * Get the view / contents that represent the component. + */ + public function render(): View|Closure|string + { + return view('components.lastfm-track'); + } +} |