ResponsePrinterFactory
extends DiFactoryBase
in package
implements
IResponsePrinterFactory
uses
DiFactoryTrait
DIコンテナを用いたファクトリパターン基底処理。
基底っていうかメンバ変数だけ保持するだけ。
Table of Contents
Interfaces
- IResponsePrinterFactory
- ResponsePrinter生成器。
Properties
Methods
Properties
$container read-only
protected
IDiContainer
$container
Methods
__construct()
public
__construct(IDiContainer $container) : mixed
Parameters
- $container : IDiContainer
createResponsePrinter()
public
createResponsePrinter(HttpRequest $request, HttpResponse $response) : ResponsePrinter
Parameters
- $request : HttpRequest
- $response : HttpResponse