Example #1
0
 /**
  * Given a time input, returns the formatted header
  *
  * @param string $time
  * @return string
  * @codeCoverageIgnore
  */
 protected function getExpirationHeader($time)
 {
     return $this->dateTime->gmDate(self::EXPIRATION_TIMESTAMP_FORMAT, $this->dateTime->strToTime($time));
 }