Gets the max-age attribute.
public function getMaxAge() : int { $maxAge = $this->expire - time(); return max(0, $maxAge); }