* animated gif and camera urls are moved to funService

This commit is contained in:
Dávid Danyi
2017-09-08 17:52:27 +02:00
parent 0b7f357c29
commit dfcd3b086e
8 changed files with 120 additions and 17 deletions

View File

@@ -0,0 +1,19 @@
<?php
namespace App\Service;
use Interop\Container\ContainerInterface;
use Zend\Config\Config;
class FunServiceFactory
{
public function __invoke(ContainerInterface $container)
{
$appConfig = $container->get('config')['app.config'];
$cache = $container->get('service.cache');
return new FunService(
$cache,
new Config($appConfig)
);
}
}