private function buildFrom()
    {
        if ($this->from instanceof From) {
            return $this->from->build();
        }

        $message = 'No from statement exists. You need to supply one to retrieve results.';

        throw new InvalidFromStatement($message);
    }
private function buildFrom()
    {
        if ($this->from instanceof From) {
            return $this->from->build();
        }

        $message = 'No from statement exists. You need to supply one to retrieve results.';

        throw new InvalidFromStatement($message);
    }
private function buildFrom ( ) { if ( $ this -> from instanceof From ) { return $ this -> from -> build ( ) ; } $ message = 'No from statement exists. You need to supply one to retrieve results.' ; throw new InvalidFromStatement ( $ message ) ; }
Builds the from statement on the current query.

@return string

@throws InvalidFromStatement
Builds the from statement on the current query .