1: <?php
2:
3: namespace PHPixie\HTTP\Context\Container;
4:
5: use PHPixie\HTTP\Context;
6:
7: /**
8: * Container implementation
9: */
10: class Implementation implements \PHPixie\HTTP\Context\Container
11: {
12: /**
13: * @var Context
14: */
15: protected $context;
16:
17: /**
18: * Constructor
19: * @param Context $context
20: */
21: public function __construct($context)
22: {
23: $this->context = $context;
24: }
25:
26: /**
27: * @inheritdoc
28: */
29: public function httpContext()
30: {
31: return $this->context;
32: }
33: }
34: