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

        $schemas = array();
        foreach ($result as $row) {
            $schemas[] = new Schema($row['schema_name']);
        }

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

        $schemas = array();
        foreach ($result as $row) {
            $schemas[] = new Schema($row['schema_name']);
        }

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