forked from alchemy-fr/Phraseanet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Helper.php
45 lines (37 loc) · 825 Bytes
/
Helper.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?php
/*
* This file is part of Phraseanet
*
* (c) 2005-2015 Alchemy
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Alchemy\Phrasea\Helper;
use Alchemy\Phrasea\Application;
use Symfony\Component\HttpFoundation\Request;
class Helper
{
/** @var Application */
protected $app;
/** @var Request */
protected $request;
/**
*
* @param Application $app
* @param Request $Request
*
* @return Helper
*/
public function __construct(Application $app, Request $Request)
{
$this->app = $app;
$this->request = $Request;
return $this;
}
/** @return Request */
public function getRequest()
{
return $this->request;
}
}