src/Project/Author.php
public function setEmail($email)
    {
        if(!filter_var($email, FILTER_VALIDATE_EMAIL)){
            throw new \InvalidArgumentException(sprintf('Invalid email "%s"', $email));
        }
        $this->email = (string)$email;
    }
public function setEmail($email)
    {
        if(!filter_var($email, FILTER_VALIDATE_EMAIL)){
            throw new \InvalidArgumentException(sprintf('Invalid email "%s"', $email));
        }
        $this->email = (string)$email;
    }
Setter of $email

@param string $email