/
AssetsHelper.php
37 lines (33 loc) · 1.15 KB
/
AssetsHelper.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
<?php
namespace Symfony\Framework\FoundationBundle\Helper;
use Symfony\Components\HttpKernel\Request;
use Symfony\Components\Templating\Helper\AssetsHelper as BaseAssetsHelper;
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien.potencier@symfony-project.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
/**
* AssetsHelper is the base class for all helper classes that manages assets.
*
* @package Symfony
* @subpackage Framework_FoundationBundle
* @author Fabien Potencier <fabien.potencier@symfony-project.com>
*/
class AssetsHelper extends BaseAssetsHelper
{
/**
* Constructor.
*
* @param Symfony\Components\HttpKernel\Request $request A Request instance
* @param string|array $baseURLs The domain URL or an array of domain URLs
* @param string $version The version
*/
public function __construct(Request $request, $baseURLs = array(), $version = null)
{
parent::__construct($request->getBasePath(), $baseURLs, $version);
}
}