jsoumelidis/zend-sm-sf-di-bridge

Zend ServiceManager -> Symfony Dependency Injection Bridge

0.1.1 2017-07-18 11:54 UTC

README

Convert Zend ServiceManager dependencies to Symfony Di Definitions

Sample Usage:

use JSoumelidis\ZendSmSfDiBridge\ZendSmSfDiBridge;

$dependencies = [
	'services' => [
		...
	],
	'invokables' => [
		...
	],
	'factories' => [
		...
	],
	'delegators' => [
		...
	],
	'aliases' => [
		...
	],
];

/** @var Symfony\Component\DependencyInjection\ContainerBuilder $container */
$container = (new ZendSmSfDiBridge())->toSfDI($dependencies);