Lw\Domain\Model\User\User::setEmail PHP Method

setEmail() protected method

protected setEmail ( $email )
$email
    protected function setEmail($email)
    {
        $email = trim($email);
        if (!$email) {
            throw new \InvalidArgumentException('email');
        }
        Assertion::email($email);
        $this->email = strtolower($email);
    }