public function setRequestFactory($requestFactory) { $this->requestFactory = $requestFactory; return $this; }