public function withdraw()
    {
        $this->withdrawn = $this->endedEarly = true;

        $now = time();

        if ($this->endDate > $now) {
            $this->endDate = $now;
        }

        $this->save();
    }
public function withdraw()
    {
        $this->withdrawn = $this->endedEarly = true;

        $now = time();

        if ($this->endDate > $now) {
            $this->endDate = $now;
        }

        $this->save();
    }
public function withdraw ( ) { $ this -> withdrawn = $ this -> endedEarly = true ; $ now = time ( ) ; if ( $ this -> endDate > $ now ) { $ this -> endDate = $ now ; } $ this -> save ( ) ; }
Withdraw an item without marking a winning bid.

@return void
Withdraw an item without marking a winning bid .