src/Login.php
public function setData(string $key, $value): bool
    {
        if ($key !== 'password' || $key !== 'salt' || $key !== 'remember_md') {
            $this->data[$key] = $value;
            return true;
        } else {
            return false;
        }
    }
public function setData(string $key, $value): bool
    {
        if ($key !== 'password' || $key !== 'salt' || $key !== 'remember_md') {
            $this->data[$key] = $value;
            return true;
        } else {
            return false;
        }
    }
public function setData ( string $ key , $ value ) : bool { if ( $ key !== 'password' || $ key !== 'salt' || $ key !== 'remember_md' ) { $ this -> data [ $ key ] = $ value ; return true ; } else { return false ; } }
Set any other field from the table

@param string $key
@param mixed $value
@return bool
Set any other field from the table