src/behaviors/CacheControlBehavior.php
public function removeCacheControlDirective(string $key)
    {
        unset($this->cacheControl[$key]);
        $this->owner->getHeaders()->set('Cache-Control', $this->getCacheControlHeader());
    }
public function removeCacheControlDirective(string $key)
    {
        unset($this->cacheControl[$key]);
        $this->owner->getHeaders()->set('Cache-Control', $this->getCacheControlHeader());
    }
public function removeCacheControlDirective ( string $ key ) { unset ( $ this -> cacheControl [ $ key ] ) ; $ this -> owner -> getHeaders ( ) -> set ( 'Cache-Control' , $ this -> getCacheControlHeader ( ) ) ; }
Removes a Cache-Control directive.

@param string $key The Cache-Control directive
Removes a Cache - Control directive .