public
src
Controller
Entity
AddressBookEntry.php
Route.php
User.php
Repository
Service
bootstrap.php
templates
.gitinore
LICENSE
README.md
config.json.sample
18 lines
324 B
PHP
18 lines
324 B
PHP
<?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,
|
|
private bool $isAdmin = false
|
|
)
|
|
{
|
|
// empty body
|
|
}
|
|
} |