Exponential 5.x Kernel 7.5.40 Exponential New Stack (Symfony-based) Kernel — PHP Class Reference

RelativeResolver.php
Go to the documentation of this file.
1 <?php
2
7 namespace eZ\Bundle\EzPublishCoreBundle\Imagine\Cache\Resolver;
8
9 use Liip\ImagineBundle\Imagine\Cache\Resolver\ResolverInterface;
10 use Liip\ImagineBundle\Imagine\Cache\Resolver\ProxyResolver as ImagineProxyResolver;
11
15 class RelativeResolver extends ImagineProxyResolver
16 {
20 public function __construct(ResolverInterface $resolver)
21 {
22 parent::__construct($resolver, []);
23 }
24
32 protected function rewriteUrl($url)
33 {
34 return parse_url($url, PHP_URL_PATH);
35 }
36 }
eZ\Bundle\EzPublishCoreBundle\Imagine\Cache\Resolver\RelativeResolver
Relative resolver, omits host info.
Definition: RelativeResolver.php:16
eZ\Bundle\EzPublishCoreBundle\Imagine\Cache\Resolver\RelativeResolver\rewriteUrl
rewriteUrl($url)
Returns relative image path.
Definition: RelativeResolver.php:32
eZ\Bundle\EzPublishCoreBundle\Imagine\Cache\Resolver\RelativeResolver\__construct
__construct(ResolverInterface $resolver)
Definition: RelativeResolver.php:20
eZ\Bundle\EzPublishCoreBundle\Imagine\Cache\Resolver
Definition: ProxyResolver.php:7
Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.