basic website, basic templating
This commit is contained in:
17
src/Entity/User.php
Normal file
17
src/Entity/User.php
Normal file
@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace App\Entity;
|
||||
|
||||
class User
|
||||
{
|
||||
public function __construct(
|
||||
private string $nick,
|
||||
private string $password,
|
||||
private string $first = '',
|
||||
private string $last = '',
|
||||
private int $id = 0
|
||||
)
|
||||
{
|
||||
// empty body
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user