ReplyFactoryInterface
in
Interface ReplyFactoryInterface
Tags
Table of Contents
- createReply() : ResponseInterface
- Reply to the specified request.
Methods
createReply()
Reply to the specified request.
public
createReply(RequestInterface $request, PockResponseBuilder $responseBuilder) : ResponseInterface
If this method throws any exception, it will be treated as with the PockBuilder::throwException call
.
Parameters
- $request : RequestInterface
- $responseBuilder : PockResponseBuilder