src/Transformer/Transformer.php
public function reverseTransform($object, $config, $local_config = null, $result_type = 'object')
  {
    $value = $this->setLocalConfig($local_config)->reverseProcess($config, $object);

    $value = $this->converter->convertTo($value, $result_type);

    return $value;
  }
public function reverseTransform($object, $config, $local_config = null, $result_type = 'object')
  {
    $value = $this->setLocalConfig($local_config)->reverseProcess($config, $object);

    $value = $this->converter->convertTo($value, $result_type);

    return $value;
  }
public function reverseTransform ( $ object , $ config , $ local_config = null , $ result_type = 'object' ) { $ value = $ this -> setLocalConfig ( $ local_config ) -> reverseProcess ( $ config , $ object ) ; $ value = $ this -> converter -> convertTo ( $ value , $ result_type ) ; return $ value ; }
This method reverses the transforming.

@param object|object|string     $object
@param array|object|string      $config
@param null|array|string|object $local_config
@param string                   $result_type

@return array|\stdClass|string
@throws \Enm\Transformer\Exceptions\TransformerException
This method reverses the transforming .