di\Container normalizeDefinition()

normalizeDefinition() protected method

Normalizes the class definition.

protected array normalizeDefinition ( $class, $definition )
$class string

Class name

$definition string|array|callable

The class definition

return array

The normalized class definition

throws yii\base\InvalidConfigException

if the definition is invalid.

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

Please login to continue.