public function setReturnsReference($returnsReference) { $this->returnsReference = (bool) $returnsReference; return $this; }