|
@@ -0,0 +1,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);
|
|
|
+ }
|
|
|
+}
|