Service factory
| package |
Kocuj\Di\Service |
|---|
__construct(\Kocuj\Di\ArgumentParser\ArgumentParserFactoryInterface $argumentParserFactory)
| codeCoverageIgnore | |
|---|---|
\Kocuj\Di\ArgumentParser\ArgumentParserFactoryInterfaceService argument parser factory
create(\Kocuj\Di\Container\ContainerInterface $container, \Kocuj\Di\Service\ServiceType $serviceType, string $id, string $source, array $arguments = array()) : \Kocuj\Di\Service\ServiceInterface
| see | \Kocuj\Di\Service\ServiceFactoryInterface::create() |
|---|---|
| codeCoverageIgnore | |
| Throws |
|
stringService identifier
stringSource for service to create
arrayService arguments to parse
\Kocuj\Di\Service\ServiceInterfaceService creator object
argumentParserFactory : \Kocuj\Di\ArgumentParser\ArgumentParserFactoryInterface