]> Raphaël G. Git Repositories - packbundle/blob - Context/NullContext.php
Add context supporting getBaseUrl feature
[packbundle] / Context / NullContext.php
1 <?php declare(strict_types=1);
2
3 /*
4 * This file is part of the Rapsys PackBundle package.
5 *
6 * (c) Raphaël Gertz <symfony@rapsys.eu>
7 *
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
10 */
11
12 namespace Rapsys\PackBundle\Context;
13
14 use Symfony\Component\Asset\Context\NullContext as BaseNullContext;
15
16 /**
17 * {@inheritdoc}
18 */
19 class NullContext extends BaseNullContext {
20 /**
21 * Returns the base url
22 *
23 * @return string The base url
24 */
25 public function getBaseUrl(): string {
26 return '';
27 }
28 }