for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Project\Domain\User\Entity;
class User {
/**
* @var integer
*/
protected $id;
* @var string
protected $username;
protected $email;
protected $password;
* @return int
public function getId()
{
return $this->id;
}
* @return string
public function getUsername()
return $this->username;
* @param string $username
public function setUsername($username)
$this->username = $username;
public function getEmail(): string
return $this->email;
* @param string $email
public function setEmail(string $email)
$this->email = $email;
public function getPassword(): string
return $this->password;
* @param string $password
public function setPassword(string $password)
$this->password = $password;