original_string: protected function assertInitiated($key) {
          $current = &$this->query;
          $keys = explode(".", $key);
          foreach ($keys as $element) {
              if (!array_key_exists($element, $current)) {
                  $current[$element] = [];
              }
              $current = &$current[$element];
          }
      }
code: protected function assertInitiated($key) {
          $current = &$this->query;
          $keys = explode(".", $key);
          foreach ($keys as $element) {
              if (!array_key_exists($element, $current)) {
                  $current[$element] = [];
              }
              $current = &$current[$element];
          }
      }
code_tokens: protected function assertInitiated ( $ key ) { $ current = & $ this -> query ; $ keys = explode ( "." , $ key ) ; foreach ( $ keys as $ element ) { if ( ! array_key_exists ( $ element , $ current ) ) { $ current [ $ element ] = [ ] ; } $ current = & $ current [ $ element ] ; } }
docstring: Checks and creates the required structure
  
  @param string $key A dot [.] separated path to be created/checked
  @return void
docstring_tokens: Checks and creates the required structure