public function tableNames()
    {
        return collect(DB::select($this->getQuery()))
                    ->pluck('name')->reject(function ($name) {
                        return $this->skips()->contains($name);
                    });
    }
public function tableNames()
    {
        return collect(DB::select($this->getQuery()))
                    ->pluck('name')->reject(function ($name) {
                        return $this->skips()->contains($name);
                    });
    }
public function tableNames ( ) { return collect ( DB :: select ( $ this -> getQuery ( ) ) ) -> pluck ( 'name' ) -> reject ( function ( $ name ) { return $ this -> skips ( ) -> contains ( $ name ) ; } ) ; }
retrieve table names from database.

@return \Illuminate\Support\Collection
retrieve table names from database .