| 1 | <?php |
||
| 12 | class RelativeResolver implements ResolverInterface |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @var \Liip\ImagineBundle\Imagine\Cache\Resolver\ResolverInterface |
||
| 16 | */ |
||
| 17 | private $resolver; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @param \Liip\ImagineBundle\Imagine\Cache\Resolver\ResolverInterface $resolver |
||
| 21 | */ |
||
| 22 | public function __construct(ResolverInterface $resolver) |
||
| 26 | |||
| 27 | /** |
||
| 28 | * {@inheritdoc} |
||
| 29 | */ |
||
| 30 | public function isStored($path, $filter) |
||
| 34 | |||
| 35 | /** |
||
| 36 | * {@inheritdoc} |
||
| 37 | */ |
||
| 38 | public function resolve($path, $filter) |
||
| 42 | |||
| 43 | /** |
||
| 44 | * {@inheritdoc} |
||
| 45 | */ |
||
| 46 | public function store(BinaryInterface $binary, $path, $filter) |
||
| 50 | |||
| 51 | /** |
||
| 52 | * {@inheritdoc} |
||
| 53 | */ |
||
| 54 | public function remove(array $paths, array $filters) |
||
| 58 | |||
| 59 | /** |
||
| 60 | * Returns relative image path. |
||
| 61 | * |
||
| 62 | * @param $url string |
||
| 63 | * @return string |
||
| 64 | */ |
||
| 65 | protected function rewriteUrl($url) |
||
| 69 | } |
||
| 70 |