src/Rentgen/Schema/Info/GetTablesCommand.php
public function execute()
    {
        $this->preExecute();
        $result = $this->connection->query($this->getSql());
        $this->postExecute();

        $tables = array();
        foreach ($result as $row) {
            $tables[] = new Table($row['table_name'], new Schema($row['table_schema']));
        }

        return $tables;
    }
public function execute()
    {
        $this->preExecute();
        $result = $this->connection->query($this->getSql());
        $this->postExecute();

        $tables = array();
        foreach ($result as $row) {
            $tables[] = new Table($row['table_name'], new Schema($row['table_schema']));
        }

        return $tables;
    }
public function execute ( ) { $ this -> preExecute ( ) ; $ result = $ this -> connection -> query ( $ this -> getSql ( ) ) ; $ this -> postExecute ( ) ; $ tables = array ( ) ; foreach ( $ result as $ row ) { $ tables [ ] = new Table ( $ row [ 'table_name' ] , new Schema ( $ row [ 'table_schema' ] ) ) ; } return $ tables ; }
{@inheritdoc}
{