|
@@ 148-154 (lines=7) @@
|
| 145 |
|
return; |
| 146 |
|
} |
| 147 |
|
|
| 148 |
|
if (null !== $age = $configuration->getSMaxAge()) { |
| 149 |
|
if (!is_numeric($age)) { |
| 150 |
|
$age = $this->calculateAge($configuration->getSMaxAge()); |
| 151 |
|
} |
| 152 |
|
|
| 153 |
|
$response->setSharedMaxAge($age); |
| 154 |
|
} |
| 155 |
|
|
| 156 |
|
if (null !== $age = $configuration->getMaxAge()) { |
| 157 |
|
if (!is_numeric($age)) { |
|
@@ 156-162 (lines=7) @@
|
| 153 |
|
$response->setSharedMaxAge($age); |
| 154 |
|
} |
| 155 |
|
|
| 156 |
|
if (null !== $age = $configuration->getMaxAge()) { |
| 157 |
|
if (!is_numeric($age)) { |
| 158 |
|
$age = $this->calculateAge($configuration->getMaxAge()); |
| 159 |
|
} |
| 160 |
|
|
| 161 |
|
$response->setMaxAge($age); |
| 162 |
|
} |
| 163 |
|
|
| 164 |
|
if (null !== $configuration->getExpires()) { |
| 165 |
|
$response->setExpires($this->calculateExpires($configuration)); |