DenyingHttpClient
in package
implements
ClientInterface
FinalYes
mPDF HTTP client that refuses every request (defence in depth).
Quittio prepares every logo as a local file or an inlined data URI, so mPDF never needs to reach the network. Should a reference still resolve to a URL, this client stops the request instead of fetching it, so no bypass of LogoCache can cause a server-side request. AssetFetcher catches the exception and renders the asset as missing.
Table of Contents
Interfaces
- ClientInterface
Methods
- sendRequest() : never
Methods
sendRequest()
public
sendRequest(RequestInterface $request) : never
Parameters
- $request : RequestInterface