createSwiftObject() protected method
Creates Swift library object, from given array configuration.
protected Object createSwiftObject ( array $config )$config array
Object configuration return Object
Created object throws yii\base\InvalidConfigException
on invalid configuration.