/**
  * @param string|integer|\DateTime|null $timestamp
  * @return \AppEnlight\Endpoint\RequestStats
  */
 public function setTimestamp($timestamp)
 {
     $this->_timestamp = Helper::getDate($timestamp);
     return $this;
 }
Пример #2
0
 /**
  * @param string|integer|\DateTime|null $endTime
  * @return \AppEnlight\Endpoint\Data\Report
  */
 public function setEndTime($endTime = null)
 {
     $this->_endTime = Helper::getDate($endTime);
     return $this;
 }
Пример #3
0
 /**
  * @param string|integer|\DateTime|null $date
  * @return \AppEnlight\Endpoint\Data\Log
  */
 public function setDate($date = null)
 {
     $this->_date = Helper::getDate($date);
     return $this;
 }