korotovsky/yii2-jms-serializer

Broken ability to add custom serialization handlers

faecie opened this issue · 1 comments

Apparently there is misspelling

} elseif (!isset($options['class'])) {

It wont give a client an ability to use custom serialization handlers as it described on docs
http://www.yiiframework.com/extension/yii2-jms-serializer/

// 'my_handler' => [ // 'class' => 'app\\serializer\\handler\\MyHandler', // ],

Hi @faecie,

Thanks for your report! This bug has been fixed in this release: https://github.com/korotovsky/yii2-jms-serializer/releases/tag/2.0.1