Files
public
src
Controller
Entity
AddressBookEntry.php
Route.php
User.php
Repository
Service
bootstrap.php
templates
.gitinore
LICENSE
README.md
config.json.sample
addressbook/src/Entity/User.php
2022-10-21 20:26:20 +02:00

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
}
}