public function setPassword($password)
    {
        $password = (string) $password;

        if ($this->exists() && $this->password !== $password) {
            $this->updated['password'] = true;
        }

        $this->password = $password;

        return $this;
    }
public function setPassword($password)
    {
        $password = (string) $password;

        if ($this->exists() && $this->password !== $password) {
            $this->updated['password'] = true;
        }

        $this->password = $password;

        return $this;
    }
public function setPassword ( $ password ) { $ password = ( string ) $ password ; if ( $ this -> exists ( ) && $ this -> password !== $ password ) { $ this -> updated [ 'password' ] = true ; } $ this -> password = $ password ; return $ this ; }
Set value for field "user_password"

@param  string $password
@return $this
Set value for field user_password