protected function onSuccess(\Thruway\Connection $connection, \Thruway\CallResult $result) { return $result->getArgumentsKw(); }
protected function onSuccess(\Thruway\Connection $connection, \Thruway\CallResult $result) { return \Yii::createObject(array_merge((array) $result->getArgumentsKw(), ['class' => $this->identityClass])); }