public function confirmed()
    {
        $this->confirmed = true;
        $this->confirmed_at = Carbon::now();
        $this->save();
    }
public function confirmed()
    {
        $this->confirmed = true;
        $this->confirmed_at = Carbon::now();
        $this->save();
    }
public function confirmed ( ) { $ this -> confirmed = true ; $ this -> confirmed_at = Carbon :: now ( ) ; $ this -> save ( ) ; }
Confirm a given petition.

@return void
Confirm a given petition .