src/Control/Middleware/HTTPCacheControlMiddleware.php
public function getVary()
    {
        // Explicitly set vary
        if (isset($this->vary)) {
            return $this->vary;
        }

        // Load default from config
        $defaultVary = $this->config()->get('defaultVary');
        return array_keys(array_filter($defaultVary));
    }
public function getVary()
    {
        // Explicitly set vary
        if (isset($this->vary)) {
            return $this->vary;
        }

        // Load default from config
        $defaultVary = $this->config()->get('defaultVary');
        return array_keys(array_filter($defaultVary));
    }
public function getVary ( ) { // Explicitly set vary if ( isset ( $ this -> vary ) ) { return $ this -> vary ; } // Load default from config $ defaultVary = $ this -> config ( ) -> get ( 'defaultVary' ) ; return array_keys ( array_filter ( $ defaultVary ) ) ; }
Get current vary keys

@return array
Get current vary keys