Mark V
1: <?php
2: namespace MOC\V\Core\HttpKernel\Vendor\Universal;
3:
4: use MOC\V\Core\AutoLoader\AutoLoader;
5: use Symfony\Component\HttpFoundation\Request as SymfonyRequest;
6:
7: /**
8: * Class Request
9: *
10: * @package MOC\V\Core\HttpKernel\Vendor\Universal
11: */
12: class Request
13: {
14:
15: /** @var null|SymfonyRequest $SymfonyRequest */
16: private $SymfonyRequest = null;
17:
18: /**
19: *
20: */
21: public function __construct()
22: {
23:
24: AutoLoader::getNamespaceAutoLoader('Symfony\Component', __DIR__.'/../');
25:
26: $this->SymfonyRequest = SymfonyRequest::createFromGlobals();
27: }
28:
29: /**
30: * @return null|SymfonyRequest
31: */
32: public function getSymfonyRequest()
33: {
34:
35: return $this->SymfonyRequest;
36: }
37:
38: }
39: