src/Guzzle/Http/Message/Header/CacheControl.php
protected function updateFromDirectives(array $directives)
    {
        $this->directives = $directives;
        $this->values = array();

        foreach ($directives as $key => $value) {
            $this->values[] = $value === true ? $key : "{$key}={$value}";
        }
    }
protected function updateFromDirectives(array $directives)
    {
        $this->directives = $directives;
        $this->values = array();

        foreach ($directives as $key => $value) {
            $this->values[] = $value === true ? $key : "{$key}={$value}";
        }
    }
protected function updateFromDirectives ( array $ directives ) { $ this -> directives = $ directives ; $ this -> values = array ( ) ; foreach ( $ directives as $ key => $ value ) { $ this -> values [ ] = $ value === true ? $ key : "{$key}={$value}" ; } }
Updates the header value based on the parsed directives

@param array $directives Array of cache control directives
Updates the header value based on the parsed directives