Service factory
package |
Kocuj\Di\Service |
---|
__construct(\Kocuj\Di\ArgumentParser\ArgumentParserFactoryInterface $argumentParserFactory)
codeCoverageIgnore | |
---|---|
\Kocuj\Di\ArgumentParser\ArgumentParserFactoryInterface
Service 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 |
|
string
Service identifier
string
Source for service to create
array
Service arguments to parse
\Kocuj\Di\Service\ServiceInterface
Service creator object
argumentParserFactory : \Kocuj\Di\ArgumentParser\ArgumentParserFactoryInterface