original_string: public function getForRange($key, \DateTime $start, \DateTime $end)
      {
          if (!$this->hasForRange($key, $start, $end)) {
              return null;
          }
  
          return $this->data[$this->keyForRange($key, $start, $end)];
      }
code: public function getForRange($key, \DateTime $start, \DateTime $end)
      {
          if (!$this->hasForRange($key, $start, $end)) {
              return null;
          }
  
          return $this->data[$this->keyForRange($key, $start, $end)];
      }
code_tokens: public function getForRange ( $ key , \ DateTime $ start , \ DateTime $ end ) { if ( ! $ this -> hasForRange ( $ key , $ start , $ end ) ) { return null ; } return $ this -> data [ $ this -> keyForRange ( $ key , $ start , $ end ) ] ; }
docstring: Get value for a key for a given date range.
  
  @param string $key Counter key.
  @param \DateTime $start Start date.
  @param \DateTime $end End date.
  @return float|int|null
docstring_tokens: Get value for a key for a given date range .