/** * @inheritdoc */ public function identifiers() { $resources = array(); foreach ($this->data as $data) { $resource = new Item($data, $this->transformer, $this->resourceKey); $resources[] = $resource->identifiers(); } return $resources; }