public function addDataEntry(array $values) { if ($this->isDetached) { throw new InvalidStateException('Cannot add data entry to detached Result.'); } $this->data[] = $values; $this->added[] = $values; $this->cleanReferencedResultsCache(); }