matcher = $matcher; $this->response = $response; $this->throwable = $throwable; } public function markAsFired(): MockInterface { $this->fired = true; return $this; } /** * @return bool */ public function isFired(): bool { return $this->fired; } /** * @return \Pock\Matchers\RequestMatcherInterface */ public function getMatcher(): RequestMatcherInterface { return $this->matcher; } /** * @return \Psr\Http\Message\ResponseInterface|null */ public function getResponse(): ?ResponseInterface { return $this->response; } /** * @return \Throwable|null */ public function getThrowable(): ?Throwable { return $this->throwable; } }