original_string: protected function fetchKey($key)
      {
          if (str_contains($key, '.'))
          {
              $keys = explode('.', $key);
              $search = array_except($keys, 0);
  
              return array(array_get($keys, 0), implode('.', $search));
          }
  
          return array($key, null);
      }
code: protected function fetchKey($key)
      {
          if (str_contains($key, '.'))
          {
              $keys = explode('.', $key);
              $search = array_except($keys, 0);
  
              return array(array_get($keys, 0), implode('.', $search));
          }
  
          return array($key, null);
      }
code_tokens: protected function fetchKey ( $ key ) { if ( str_contains ( $ key , '.' ) ) { $ keys = explode ( '.' , $ key ) ; $ search = array_except ( $ keys , 0 ) ; return array ( array_get ( $ keys , 0 ) , implode ( '.' , $ search ) ) ; } return array ( $ key , null ) ; }
docstring: Get registry key
  
  @param  string $key
  @return array
docstring_tokens: Get registry key