Esempio n. 1
0
 /**
  * @param \DateTime $date
  * @param $index
  * @param $key
  * @return null|Statistics
  */
 public function getOneByDate(\DateTime $date, $index, $key)
 {
     return $this->repo->findOneBy(array('timestamp' => $date, 'index' => $index, 'key' => $key));
 }
Esempio n. 2
0
 public function getIndexedUniqueLastDays($index, $keys = null, $days = null)
 {
     return $this->repo->findIndexedUniqueStatsByIndexKeyDays($index, $keys, $days);
 }