protected function getValidStatement()
    {
        $schema = $this->getSchema();
        $statement = $this->replaceTokens($schema);
        $statement = preg_replace('/( ){2,}/', ' ', $statement);

        return trim($statement);
    }
protected function getValidStatement()
    {
        $schema = $this->getSchema();
        $statement = $this->replaceTokens($schema);
        $statement = preg_replace('/( ){2,}/', ' ', $statement);

        return trim($statement);
    }
protected function getValidStatement ( ) { $ schema = $ this -> getSchema ( ) ; $ statement = $ this -> replaceTokens ( $ schema ) ; $ statement = preg_replace ( '/( ){2,}/' , ' ' , $ statement ) ; return trim ( $ statement ) ; }
Build the command replacing schema tokens with actual values and cleaning
the command synthax.

@return string
Build the command replacing schema tokens with actual values and cleaning the command synthax .