src/FakePageFetcher.php
public function fetch(PageFetcherRequestInterface $request): PageFetcherResponseInterface
    {
        if ($this->responseHandler === null) {
            return new PageFetcherResponse();
        }

        return call_user_func($this->responseHandler, $request);
    }
public function fetch(PageFetcherRequestInterface $request): PageFetcherResponseInterface
    {
        if ($this->responseHandler === null) {
            return new PageFetcherResponse();
        }

        return call_user_func($this->responseHandler, $request);
    }
Fetches the content from a request.

@since 1.0.0

@param PageFetcherRequestInterface $request The page fetcher request.

@return PageFetcherResponseInterface The page fetcher response.