public function getConfiguredSchemaParser(PDO $con = null)
    {
        $clazz = $this->getClassname("reverseParserClass");
        $parser = new $clazz();
        if (!$parser instanceof SchemaParser) {
            throw new BuildException("Specified platform class ($clazz) does implement SchemaParser interface.", $this->getLocation());
        }
        $parser->setConnection($con);
        $parser->setMigrationTable($this->getBuildProperty('migrationTable'));
        $parser->setGeneratorConfig($this);

        return $parser;
    }
public function getConfiguredSchemaParser(PDO $con = null)
    {
        $clazz = $this->getClassname("reverseParserClass");
        $parser = new $clazz();
        if (!$parser instanceof SchemaParser) {
            throw new BuildException("Specified platform class ($clazz) does implement SchemaParser interface.", $this->getLocation());
        }
        $parser->setConnection($con);
        $parser->setMigrationTable($this->getBuildProperty('migrationTable'));
        $parser->setGeneratorConfig($this);

        return $parser;
    }
public function getConfiguredSchemaParser ( PDO $ con = null ) { $ clazz = $ this -> getClassname ( "reverseParserClass" ) ; $ parser = new $ clazz ( ) ; if ( ! $ parser instanceof SchemaParser ) { throw new BuildException ( "Specified platform class ($clazz) does implement SchemaParser interface." , $ this -> getLocation ( ) ) ; } $ parser -> setConnection ( $ con ) ; $ parser -> setMigrationTable ( $ this -> getBuildProperty ( 'migrationTable' ) ) ; $ parser -> setGeneratorConfig ( $ this ) ; return $ parser ; }
Creates and configures a new SchemaParser class for specified platform.

@param PDO $con

@return SchemaParser
@throws BuildException
Creates and configures a new SchemaParser class for specified platform .