ArgumentParserFactoryInterface

Extends

Service argument parser factory interface

package

Kocuj\Di\ArgumentParser

Methods

Create object with parser for service argument

create(\Kocuj\Di\Container\ContainerInterface $container, string $id, array $argument) : \Kocuj\Di\ArgumentParser\ArgumentParserInterface

Arguments

$container

\Kocuj\Di\Container\ContainerInterface

Dependency injection container for services

$id

string

Service identifier

$argument

array

Service argument to parse

Response

\Kocuj\Di\ArgumentParser\ArgumentParserInterface

Object with service argument parser