src/Guzzle/Http/Message/Header/CacheControl.php
public function getDirectives()
    {
        if ($this->directives === null) {
            $this->directives = array();
            foreach ($this->parseParams() as $collection) {
                foreach ($collection as $key => $value) {
                    $this->directives[$key] = $value === '' ? true : $value;
                }
            }
        }

        return $this->directives;
    }
public function getDirectives()
    {
        if ($this->directives === null) {
            $this->directives = array();
            foreach ($this->parseParams() as $collection) {
                foreach ($collection as $key => $value) {
                    $this->directives[$key] = $value === '' ? true : $value;
                }
            }
        }

        return $this->directives;
    }
public function getDirectives ( ) { if ( $ this -> directives === null ) { $ this -> directives = array ( ) ; foreach ( $ this -> parseParams ( ) as $ collection ) { foreach ( $ collection as $ key => $ value ) { $ this -> directives [ $ key ] = $ value === '' ? true : $ value ; } } } return $ this -> directives ; }
Get an associative array of cache control directives

@return array
Get an associative array of cache control directives