[ // Use 'invokables' for constructor-less services, or services that do // not require arguments to the constructor. Map a service name to the // class name. 'invokables' => [ // Fully\Qualified\InterfaceName::class => Fully\Qualified\ClassName::class, Helper\ServerUrlHelper::class => Helper\ServerUrlHelper::class, ], // Use 'factories' for services provided by callbacks/factory classes. 'factories' => [ Application::class => ApplicationFactory::class, Helper\UrlHelper::class => Helper\UrlHelperFactory::class, 'doctrine.entity_manager.orm_default' => \ContainerInteropDoctrine\EntityManagerFactory::class, 'doctrine.hydrator' => \App\Hydrator\DoctrineObjectFactory::class, \App\Service\Article\ArticleService::class => \App\Service\Article\ArticleServiceFactory::class, ], ], ];