public function setHydrationMode($hydrationMode) { $this->hydrationMode = $hydrationMode; return $this; }