/** * Fetches the data item keys from the persistent data storage. * * @return array list of data item keys. */ protected function fetchKeys() { return $this->collection->first() instanceof Fluent ? array_keys($this->collection->first()->attributes()) : array(); }