Всем привет. У меня есть стерилизованный объект такого вида:
unserialize('O:52:"dmplace\\application\\modules\\questionnaire\\data\\Field":12:{s:10:"externalId";N;s:12:"externalType";N;s:36:"' . "\0" . 'yii\\db\\BaseActiveRecord' . "\0" . '_attributes";a:13:{s:2:"id";i:1;s:4:"name";s:6:"region";s:5:"label";s:12:"Регион";s:4:"type";i:1;s:6:"params";s:46:"[{"items":[""]},{"items":[""]},{"items":[""]}]";s:6:"status";i:1;s:10:"created_at";N;s:10:"updated_at";s:19:"2019-10-23 08:07:37";s:8:"group_id";i:1;s:4:"sort";i:10;s:8:"multiple";b:1;s:11:"description";s:0:"";s:8:"required";b:1;}s:39:"' . "\0" . 'yii\\db\\BaseActiveRecord' . "\0" . '_oldAttributes";a:13:{s:2:"id";i:1;s:4:"name";s:6:"region";s:5:"label";s:12:"Регион";s:4:"type";i:1;s:6:"params";s:46:"[{"items":[""]},{"items":[""]},{"items":[""]}]";s:6:"status";i:1;s:10:"created_at";N;s:10:"updated_at";s:19:"2019-10-23 08:07:37";s:8:"group_id";i:1;s:4:"sort";i:10;s:8:"multiple";b:1;s:11:"description";s:0:"";s:8:"required";b:1;}s:33:"' . "\0" . 'yii\\db\\BaseActiveRecord' . "\0" . '_related";a:0:{}s:47:"' . "\0" . 'yii\\db\\BaseActiveRecord' . "\0" . '_relationsDependencies";a:0:{}s:23:"' . "\0" . 'yii\\base\\Model' . "\0" . '_errors";N;s:27:"' . "\0" . 'yii\\base\\Model' . "\0" . '_validators";N;s:25:"' . "\0" . 'yii\\base\\Model' . "\0" . '_scenario";s:7:"default";s:27:"' . "\0" . 'yii\\base\\Component' . "\0" . '_events";a:2:{s:12:"beforeInsert";a:1:{i:0;a:2:{i:0;a:2:{i:0;O:31:"yii\\behaviors\\TimestampBehavior":8:{s:18:"createdAtAttribute";s:10:"created_at";s:18:"updatedAtAttribute";s:10:"updated_at";s:5:"value";O:17:"yii\\db\\Expression":2:{s:10:"expression";s:5:"NOW()";s:6:"params";a:0:{}}s:10:"attributes";a:2:{s:12:"beforeInsert";a:2:{i:0;s:10:"created_at";i:1;s:10:"updated_at";}s:12:"beforeUpdate";s:10:"updated_at";}s:17:"skipUpdateOnClean";b:1;s:22:"preserveNonEmptyValues";b:0;s:5:"owner";r:1;s:34:"' . "\0" . 'yii\\base\\Behavior' . "\0" . '_attachedEvents";a:2:{s:12:"beforeInsert";s:18:"evaluateAttributes";s:12:"beforeUpdate";s:18:"evaluateAttributes";}}i:1;s:18:"evaluateAttributes";}i:1;N;}}s:12:"beforeUpdate";a:1:{i:0;a:2:{i:0;a:2:{i:0;r:41;i:1;s:18:"evaluateAttributes";}i:1;N;}}}s:35:"' . "\0" . 'yii\\base\\Component' . "\0" . '_eventWildcards";a:0:{}s:30:"' . "\0" . 'yii\\base\\Component' . "\0" . '_behaviors";a:1:{i:0;r:41;}}'),
Как мне его десерелизовать в объект?