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:
parent
cf341d03aa
commit
d9261ecd46
@ -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']
|
@ -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
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user