public function tables()
    {
        $db = ConnectionManager::get('default');
        $db->connect();
        $schemaCollection = $db->schemaCollection();
        $tables = $schemaCollection->listTables();
        foreach ($tables as $table) {
            $this->out(sprintf('- %s', $table));
        }
    }
public function tables()
    {
        $db = ConnectionManager::get('default');
        $db->connect();
        $schemaCollection = $db->schemaCollection();
        $tables = $schemaCollection->listTables();
        foreach ($tables as $table) {
            $this->out(sprintf('- %s', $table));
        }
    }
public function tables ( ) { $ db = ConnectionManager :: get ( 'default' ) ; $ db -> connect ( ) ; $ schemaCollection = $ db -> schemaCollection ( ) ; $ tables = $ schemaCollection -> listTables ( ) ; foreach ( $ tables as $ table ) { $ this -> out ( sprintf ( '- %s' , $ table ) ) ; } }
Displays a list of all table names in database.

@return void
Displays a list of all table names in database .