src/Generator.php
public function tables()
    {
        $schema = $this->db->connection()
            ->getDoctrineConnection()
            ->getSchemaManager();

        $tables = $schema->listTableNames();

        foreach ($tables as $table) {
            $columns = $this->describer->describe($table);

            yield compact('table', 'columns');
        }
    }
public function tables()
    {
        $schema = $this->db->connection()
            ->getDoctrineConnection()
            ->getSchemaManager();

        $tables = $schema->listTableNames();

        foreach ($tables as $table) {
            $columns = $this->describer->describe($table);

            yield compact('table', 'columns');
        }
    }
public function tables ( ) { $ schema = $ this -> db -> connection ( ) -> getDoctrineConnection ( ) -> getSchemaManager ( ) ; $ tables = $ schema -> listTableNames ( ) ; foreach ( $ tables as $ table ) { $ columns = $ this -> describer -> describe ( $ table ) ; yield compact ( 'table' , 'columns' ) ; } }
Return a description for each table.

@return \Generator
Return a description for each table .