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. |
Please login to continue.