diff --git a/src/Extension/Application/AbstractApp.php b/src/Extension/Application/AbstractApp.php index ed91c2fb..ec91cc9f 100644 --- a/src/Extension/Application/AbstractApp.php +++ b/src/Extension/Application/AbstractApp.php @@ -7,10 +7,16 @@ use BEAR\Resource\ResourceInterface; use BEAR\Sunday\Extension\Error\ErrorInterface; use BEAR\Sunday\Extension\Router\RouterInterface; +use BEAR\Sunday\Extension\Transfer\HttpCacheInterface; use BEAR\Sunday\Extension\Transfer\TransferInterface; class AbstractApp implements AppInterface { + /** + * @var HttpCacheInterface + */ + public $httpCache; + /** * @var RouterInterface */ @@ -32,17 +38,20 @@ class AbstractApp implements AppInterface public $error; /** - * @param RouterInterface $router Resource router - * @param TransferInterface $responder Resource responder - * @param ResourceInterface $resource BEAR.Resource client - * @param ErrorInterface $error Error handler + * @param HttpCacheInterface $httpCache HTTP Cache 304 responder + * @param RouterInterface $router Resource router + * @param TransferInterface $responder Resource responder + * @param ResourceInterface $resource BEAR.Resource client + * @param ErrorInterface $error Error handler */ public function __construct( + HttpCacheInterface $httpCache, RouterInterface $router, TransferInterface $responder, ResourceInterface $resource, ErrorInterface $error ) { + $this->httpCache = $httpCache; $this->router = $router; $this->responder = $responder; $this->resource = $resource;