source/Spiral/ORM/Schemas/SchemaBuilder.php
protected function pushTable(AbstractTable $schema)
    {
        //We have to make sure that local table name is used
        $table = substr($schema->getName(), strlen($schema->getPrefix()));

        if (empty($this->tables[$schema->getDriver()->getName() . '.' . $table])) {
            throw new SchemaException("AbstractTable must be requested before pushing back");
        }

        $this->tables[$schema->getDriver()->getName() . '.' . $table] = $schema;
    }
protected function pushTable(AbstractTable $schema)
    {
        //We have to make sure that local table name is used
        $table = substr($schema->getName(), strlen($schema->getPrefix()));

        if (empty($this->tables[$schema->getDriver()->getName() . '.' . $table])) {
            throw new SchemaException("AbstractTable must be requested before pushing back");
        }

        $this->tables[$schema->getDriver()->getName() . '.' . $table] = $schema;
    }
protected function pushTable ( AbstractTable $ schema ) { //We have to make sure that local table name is used $ table = substr ( $ schema -> getName ( ) , strlen ( $ schema -> getPrefix ( ) ) ) ; if ( empty ( $ this -> tables [ $ schema -> getDriver ( ) -> getName ( ) . '.' . $ table ] ) ) { throw new SchemaException ( "AbstractTable must be requested before pushing back" ) ; } $ this -> tables [ $ schema -> getDriver ( ) -> getName ( ) . '.' . $ table ] = $ schema ; }
Update table state.

@param AbstractTable $schema

@throws SchemaException
Update table state .