for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Minepic\Events\Account;
use Minepic\Events\Event;
class UsernameChangeEvent extends Event
{
/**
* @var string
*/
private string $uuid;
private string $previousName;
private string $newName;
public function __construct(string $uuid, string $previousName, string $newName)
$this->uuid = $uuid;
$this->previousName = $previousName;
$this->newName = $newName;
}
public function getUuid(): string
return $this->uuid;
public function getPreviousName(): string
return $this->previousName;
public function getNewName(): string
return $this->newName;