1
0
mirror of https://github.com/ToxicCrack/PrintABrick.git synced 2025-05-16 12:20:09 -07:00

Remove unused Liip imagine loader

This commit is contained in:
David Hübner 2017-04-10 16:58:47 +02:00
parent cf341d03aa
commit d9261ecd46
2 changed files with 1 additions and 30 deletions

View File

@ -24,11 +24,4 @@ services:
app.relation.mapper:
class: AppBundle\Utils\RelationMapper
arguments:
- ['%kernel.root_dir%/Resources/relations']
imagine.data.loader.remote:
class: AppBundle\Imagine\Loader\RemoteStreamLoader
arguments:
- 'http://rebrickable.com/media/'
tags:
- { name: "liip_imagine.remote.steram.loader", loader: remote.loader }
- ['%kernel.root_dir%/Resources/relations']

View File

@ -1,22 +0,0 @@
<?php
namespace AppBundle\Imagine\Loader;
use Liip\ImagineBundle\Binary\Loader\StreamLoader;
class RemoteStreamLoader extends StreamLoader
{
public function __construct($wrapperPrefix, $context = null)
{
dump($wrapperPrefix);
parent::__construct($wrapperPrefix, $context);
}
public function find($path)
{
dump($path);
return parent::find($path); // TODO: Change the autogenerated stub
}
}