Files
Phraseanet/lib/Alchemy/Phrasea/Helper/Helper.php
Romain Neutron 86eadb1e9b Update Helpers
2012-10-04 15:43:13 +02:00

58 lines
1014 B
PHP

<?php
/*
* This file is part of Phraseanet
*
* (c) 2005-2012 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;
/**
*
* @license http://opensource.org/licenses/gpl-3.0 GPLv3
* @link www.phraseanet.com
*/
class Helper
{
/**
*
* @var Application
*/
protected $app;
/**
*
* @var \Symfony\Component\HttpFoundation\Request
*/
protected $request;
/**
*
* @param Kernel $kernel
* @return Helper
*/
public function __construct(Application $app, Request $Request)
{
$this->app = $app;
$this->request = $Request;
return $this;
}
/**
*
* @return \Symfony\Component\HttpFoundation\Request
*/
public function getRequest()
{
return $this->request;
}
}