public function setAvatar($avatar)
    {
        $avatar = (string) $avatar;

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

        $this->avatar = $avatar;

        return $this;
    }
public function setAvatar($avatar)
    {
        $avatar = (string) $avatar;

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

        $this->avatar = $avatar;

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

@param  string $avatar
@return $this
Set value for field user_avatar