src/Control/Middleware/HTTPCacheControlMiddleware.php
public function getStateDirective($state, $directive)
    {
        $directive = strtolower($directive);
        if (isset($this->stateDirectives[$state][$directive])) {
            return $this->stateDirectives[$state][$directive];
        }
        return false;
    }
public function getStateDirective($state, $directive)
    {
        $directive = strtolower($directive);
        if (isset($this->stateDirectives[$state][$directive])) {
            return $this->stateDirectives[$state][$directive];
        }
        return false;
    }
public function getStateDirective ( $ state , $ directive ) { $ directive = strtolower ( $ directive ) ; if ( isset ( $ this -> stateDirectives [ $ state ] [ $ directive ] ) ) { return $ this -> stateDirectives [ $ state ] [ $ directive ] ; } return false ; }
Low level method to get the value of a directive for a state.
Returns false if there is no directive.
True means the flag is set, otherwise the value of the directive.

@param string $state
@param string $directive
@return int|string|bool
Low level method to get the value of a directive for a state . Returns false if there is no directive . True means the flag is set otherwise the value of the directive .