di\Container resolveDependencies()

resolveDependencies() protected method

Resolves dependencies by replacing them with the actual object instances.

protected array resolveDependencies ( $dependencies, $reflection = null )
$dependencies array

The dependencies

$reflection ReflectionClass

The class reflection associated with the dependencies

return array

The resolved dependencies

throws yii\base\InvalidConfigException

if a dependency cannot be resolved or if a dependency cannot be fulfilled.

doc_Yii
2016-10-30 17:01:06
Comments
Leave a Comment

Please login to continue.