Neos\Flow\Http\Headers::getCacheControlHeader PHP 메소드

getCacheControlHeader() 보호된 메소드

Renders and returns a Cache-Control header, based on the previously set cache control directives.
또한 보기: get()
protected getCacheControlHeader ( ) : string
리턴 string Either the value of the header or NULL if it shall be omitted
    protected function getCacheControlHeader()
    {
        $cacheControl = '';
        foreach ($this->cacheDirectives as $cacheDirective) {
            $cacheControl .= $cacheDirective !== '' ? $cacheDirective . ', ' : '';
        }
        $cacheControl = trim($cacheControl, ' ,');
        return $cacheControl === '' ? null : $cacheControl;
    }