for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace DH\Auditor\User;
final class User implements UserInterface
{
private ?string $id;
private ?string $username;
/**
* User constructor.
*/
public function __construct(?string $id = null, ?string $username = null)
$this->id = $id;
$this->username = $username;
}
public function getIdentifier(): ?string
return $this->id;
public function getUsername(): ?string
return $this->username;