/** * Set identity values from given collection * * @param \Spot\Entity\Collection */ public function identityValuesFromCollection(Collection $collection) { $this->identityValue($collection->toArray($this->localKey())); }