public function result($partition = null) { $data = $this->proxy->query($this->projectionName, $partition); return $this->resultSerializer->unserialize($this->projectionClassName, $data); }
public function result($partition = null) { $definition = $this->projectionsDriver->get($this->projectionName); return $this->resultSerializer->unserialize($this->projectionClassName, $this->projectionsDriver->result($definition, $partition)); }