public function setReferenceReturned($bool) { $this->referenceReturned = (bool) $bool; return $this; }