for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace ZfcUser\Entity;
class User implements UserInterface
{
/**
* @var int
*/
protected $id;
* @var string
protected $username;
protected $email;
protected $displayName;
protected $password;
protected $state;
* Get id.
*
* @return int
public function getId()
return $this->id;
}
* Set id.
* @param int $id
* @return UserInterface
public function setId($id)
$this->id = (int) $id;
return $this;
* Get username.
* @return string
public function getUsername()
return $this->username;
* Set username.
* @param string $username
public function setUsername($username)
$this->username = $username;
* Get email.
public function getEmail()
return $this->email;
* Set email.
* @param string $email
public function setEmail($email)
$this->email = $email;
* Get displayName.
public function getDisplayName()
return $this->displayName;
* Set displayName.
* @param string $displayName
public function setDisplayName($displayName)
$this->displayName = $displayName;
* Get password.
public function getPassword()
return $this->password;
* Set password.
* @param string $password
public function setPassword($password)
$this->password = $password;
* Get state.
public function getState()
return $this->state;
* Set state.
* @param int $state
public function setState($state)
$this->state = (int) $state;