for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace ConferenceTools\Tickets\Service\Factory;
use ConferenceTools\Tickets\Domain\Service\Configuration;
use Zend\ServiceManager\FactoryInterface;
use Zend\ServiceManager\ServiceLocatorInterface;
class ConfigurationFactory implements FactoryInterface
{
public function createService(ServiceLocatorInterface $serviceLocator)
$config = $serviceLocator->get('Config');
return Configuration::fromArray($config['conferencetools']['tickets']);
}