public function finalize()
    {
        if ($this->state != 'awaiting_review') {
            throw new StillRunningException('Tournament is still running.');
        }

        $response = Guzzle::post("tournaments/{$this->id}/finalize");
        return $this->updateModel($response->tournament);
    }
public function finalize()
    {
        if ($this->state != 'awaiting_review') {
            throw new StillRunningException('Tournament is still running.');
        }

        $response = Guzzle::post("tournaments/{$this->id}/finalize");
        return $this->updateModel($response->tournament);
    }
public function finalize ( ) { if ( $ this -> state != 'awaiting_review' ) { throw new StillRunningException ( 'Tournament is still running.' ) ; } $ response = Guzzle :: post ( "tournaments/{$this->id}/finalize" ) ; return $ this -> updateModel ( $ response -> tournament ) ; }
Finalize a tournament that has had all match scores submitted, rendering its results permanent.

@return Tournament
Finalize a tournament that has had all match scores submitted rendering its results permanent .