for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace SvImages\Options\Factory;
use Zend\ServiceManager\FactoryInterface;
use Zend\ServiceManager\ServiceLocatorInterface;
use SvImages\Options\ModuleOptions;
/**
* @author Vytautas Stankus <[email protected]>
* @license MIT
*/
class ModuleOptionsFactory implements FactoryInterface
{
public function createService(ServiceLocatorInterface $serviceLocator)
return new ModuleOptions($serviceLocator->get('Config')['sv_images']);
}