original_string: protected function getValue($key, array $array = array())
      {
          $keys = $this->parseKey($key);
  
          while (count($keys) > 0 and !is_null($array)) {
              $key = array_shift($keys);
              $array = isset($array[$key]) ? $array[$key] : null;
          }
  
          return $array;
      }
code: protected function getValue($key, array $array = array())
      {
          $keys = $this->parseKey($key);
  
          while (count($keys) > 0 and !is_null($array)) {
              $key = array_shift($keys);
              $array = isset($array[$key]) ? $array[$key] : null;
          }
  
          return $array;
      }
code_tokens: protected function getValue ( $ key , array $ array = array ( ) ) { $ keys = $ this -> parseKey ( $ key ) ; while ( count ( $ keys ) > 0 and ! is_null ( $ array ) ) { $ key = array_shift ( $ keys ) ; $ array = isset ( $ array [ $ key ] ) ? $ array [ $ key ] : null ; } return $ array ; }
docstring: Get a value from a nested array based on a separated key
  @param  string $key
  @param  array  $array
  @return mixed
docstring_tokens: Get a value from a nested array based on a separated key