src/User/User.php
public function activate()
    {
        if ($this->is_email_confirmed !== true) {
            $this->is_email_confirmed = true;

            $this->raise(new Activated($this));
        }

        return $this;
    }
public function activate()
    {
        if ($this->is_email_confirmed !== true) {
            $this->is_email_confirmed = true;

            $this->raise(new Activated($this));
        }

        return $this;
    }
public function activate ( ) { if ( $ this -> is_email_confirmed !== true ) { $ this -> is_email_confirmed = true ; $ this -> raise ( new Activated ( $ this ) ) ; } return $ this ; }
Activate the user's account.

@return $this
Activate the user s account .