original_string: private
      static function objectify(
          array $array
      ) {
          foreach ($array as &$item) {
              if (is_array($item)) {
                  $item = self::objectify($item);
              }
          }
  
          return (object)$array;
      }
code: private
      static function objectify(
          array $array
      ) {
          foreach ($array as &$item) {
              if (is_array($item)) {
                  $item = self::objectify($item);
              }
          }
  
          return (object)$array;
      }
code_tokens: private static function objectify ( array $ array ) { foreach ( $ array as & $ item ) { if ( is_array ( $ item ) ) { $ item = self :: objectify ( $ item ) ; } } return ( object ) $ array ; }
docstring: Converts an array to an object recursively.
  @param array $array the array to convert
  @return object the converted array
docstring_tokens: Converts an array to an object recursively .