Example #1
0
 /**
  * Set response expire time
  * @param string|\DateTime $expires date-time when the response expires
  *  string for DateInterval from now
  *  DateTime object when to expire response
  */
 public static function setExpiresHeader($expires)
 {
     \OC_Response::setExpiresHeader($expires);
 }