Build the response so that depending on settings it's cacheable.
protected buildResponse ( string | null $etag = null, DateTime $lastModified = null ) : |
||
$etag | string | null | |
$lastModified | DateTime | |
return |