Implemented account system
This commit is contained in:
parent
51c20b55a0
commit
ace0de4063
25 changed files with 1543 additions and 40 deletions
17
src/php/Templates/NavigationHeader.php
Normal file
17
src/php/Templates/NavigationHeader.php
Normal file
|
@ -0,0 +1,17 @@
|
|||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace GamesShop\Templates;
|
||||
|
||||
use GamesShop\Login\UserPermission;
|
||||
|
||||
final class NavigationHeader
|
||||
{
|
||||
public function __construct(
|
||||
public readonly string $title,
|
||||
public readonly string $link,
|
||||
public readonly UserPermission $minimumPermission,
|
||||
)
|
||||
{
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue