original_string: public function makeConfigFromArray($configArray = [])
      {
          $object = new stdClass;
  
          if (!is_array($configArray)) {
              return $object;
          }
  
          foreach ($configArray as $name => $value) {
              $_name = camel_case($name);
              $object->{$name} = $object->{$_name} = $value;
          }
  
          return $object;
      }
code: public function makeConfigFromArray($configArray = [])
      {
          $object = new stdClass;
  
          if (!is_array($configArray)) {
              return $object;
          }
  
          foreach ($configArray as $name => $value) {
              $_name = camel_case($name);
              $object->{$name} = $object->{$_name} = $value;
          }
  
          return $object;
      }
code_tokens: public function makeConfigFromArray ( $ configArray = [ ] ) { $ object = new stdClass ; if ( ! is_array ( $ configArray ) ) { return $ object ; } foreach ( $ configArray as $ name => $ value ) { $ _name = camel_case ( $ name ) ; $ object -> { $ name } = $ object -> { $ _name } = $ value ; } return $ object ; }
docstring: Makes a config object from an array, making the first level keys properties a new object.
  Property values are converted to camelCase and are not set if one already exists.
  @param array $configArray Config array.
  @return stdClass The config object
docstring_tokens: Makes a config object from an array making the first level keys properties a new object . Property values are converted to camelCase and are not set if one already exists .