function getColumns($table) { $cacheKey = $this->cachePrefix . $table . '::Columns'; $columns = Cache::get($cacheKey); if (!$columns) { $columns = $this->provider->getColumns($table); Cache::set($cacheKey, $columns); } return $columns; }