module.config.php
ライクにサービスを登録する場合
'service_manager' => [
'factories' => [
\Path\To\Your\Service\AService => \Path\To\Your\Service\Factory\AServiceFactory,
]
]
ZF2 (ファクトリが を実装する場合MutableCreationOptionsInterface
) でも ZF3 ( $container->get(\Path\To\Your\Service\AService::class, $options)
.
作成オプションをサービスに渡す方法を誰か教えてもらえますか?