PHP 클래스 DI\Definition\Resolver\ArrayResolver

부터: 5.0
저자: Matthieu Napoli ([email protected])
상속: implements DI\Definition\Resolver\DefinitionResolver
파일 보기 프로젝트 열기: mnapoli/php-di

공개 메소드들

메소드 설명
__construct ( DI\Definition\Resolver\DefinitionResolver $definitionResolver )
isResolvable ( DI\Definition\Definition $definition, array $parameters = [] )
resolve ( DI\Definition\Definition $definition, array $parameters = [] ) Resolve an array definition to a value.

비공개 메소드들

메소드 설명
resolveDefinition ( DI\Definition\Helper\DefinitionHelper $value, ArrayDefinition $definition, $key )

메소드 상세

__construct() 공개 메소드

public __construct ( DI\Definition\Resolver\DefinitionResolver $definitionResolver )
$definitionResolver DI\Definition\Resolver\DefinitionResolver Used to resolve nested definitions.

isResolvable() 공개 메소드

public isResolvable ( DI\Definition\Definition $definition, array $parameters = [] )
$definition DI\Definition\Definition
$parameters array

resolve() 공개 메소드

An array definition can contain simple values or references to other entries.
public resolve ( DI\Definition\Definition $definition, array $parameters = [] )
$definition DI\Definition\Definition {@inheritdoc}
$parameters array