src/Transformer/Transformer.php
public function getEmptyObjectStructureFromConfig($config, $result_type = 'object')
  {
    $value = $this->createEmptyObjectStructure($config);
    $value = $this->converter->convertTo($value, $result_type);

    return $value;
  }
public function getEmptyObjectStructureFromConfig($config, $result_type = 'object')
  {
    $value = $this->createEmptyObjectStructure($config);
    $value = $this->converter->convertTo($value, $result_type);

    return $value;
  }
public function getEmptyObjectStructureFromConfig ( $ config , $ result_type = 'object' ) { $ value = $ this -> createEmptyObjectStructure ( $ config ) ; $ value = $ this -> converter -> convertTo ( $ value , $ result_type ) ; return $ value ; }
Creates the Structure of an Object with NULL-Values

@param array  $config
@param string $result_type

@return array|object|string
Creates the Structure of an Object with NULL - Values