mirror of
https://github.com/ToxicCrack/PrintABrick.git
synced 2025-05-16 20:30:09 -07:00
Remove unused Liip imagine loader
This commit is contained in:
parent
cf341d03aa
commit
d9261ecd46
@ -25,10 +25,3 @@ services:
|
|||||||
class: AppBundle\Utils\RelationMapper
|
class: AppBundle\Utils\RelationMapper
|
||||||
arguments:
|
arguments:
|
||||||
- ['%kernel.root_dir%/Resources/relations']
|
- ['%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 }
|
|
@ -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