src/Models/Appointment.php
public function doConfirm()
    {
        if ($this->isConfirmable()) {
            $this->status = self::STATUS_CONFIRMED;

            $this->save();
        }

        return $this;
    }
public function doConfirm()
    {
        if ($this->isConfirmable()) {
            $this->status = self::STATUS_CONFIRMED;

            $this->save();
        }

        return $this;
    }
public function doConfirm ( ) { if ( $ this -> isConfirmable ( ) ) { $ this -> status = self :: STATUS_CONFIRMED ; $ this -> save ( ) ; } return $ this ; }
Check and perform Confirm action.

@return $this
Check and perform Confirm action .