for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace AppBundle\Entity\DTO;
use Symfony\Component\Validator\Constraints as Assert;
class DtoUser
{
/**
* @var
* @Assert\NotBlank()
*/
private $email;
private $password;
* @return mixed
public function getEmail()
return $this->email;
}
* @param mixed $email
*
* @return $this
public function setEmail($email)
$this->email = $email;
return $this;
public function getPassword()
return $this->password;
* @param mixed $password
public function setPassword($password)
$this->password = $password;