for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* YAWIK
*
* @filesource
* @license MIT
* @copyright 2013 - 2019 Cross Solution <http://cross-solution.de>
*/
/** */
namespace Jobs\Queue;
use Interop\Container\ContainerInterface;
use Zend\ServiceManager\Factory\FactoryInterface;
* Factory for \Jobs\Queue\FetchExternalImageJob
* @author Mathias Gelhausen <[email protected]>
* @todo write test
class FetchExternalImageJobFactory implements FactoryInterface
{
public function __invoke(ContainerInterface $container, $requestedName, array $options = null)
$service = new FetchExternalImageJob(
$container->get('repositories')->get('Jobs')
);
return $service;
}