templates for self-hosting game jams (or any other kind of jam tbh)
1<?php
2
3namespace App\View\Composers;
4
5use Roots\Acorn\View\Composer;
6
7class App extends Composer
8{
9 /**
10 * List of views served by this composer.
11 *
12 * @var array
13 */
14 protected static $views = [
15 '*',
16 ];
17
18 /**
19 * Retrieve the site name.
20 */
21 public function siteName(): string
22 {
23 return get_bloginfo('name', 'display');
24 }
25}