original_string: public function mustRevalidate($enable = null)
      {
          deprecationWarning(
              'Response::mustRevalidate() is deprecated. ' .
              'Use withMustRevalidate() instead.'
          );
  
          if ($enable !== null) {
              if ($enable) {
                  $this->_cacheDirectives['must-revalidate'] = true;
              } else {
                  unset($this->_cacheDirectives['must-revalidate']);
              }
              $this->_setCacheControl();
          }
  
          return array_key_exists('must-revalidate', $this->_cacheDirectives);
      }
code: public function mustRevalidate($enable = null)
      {
          deprecationWarning(
              'Response::mustRevalidate() is deprecated. ' .
              'Use withMustRevalidate() instead.'
          );
  
          if ($enable !== null) {
              if ($enable) {
                  $this->_cacheDirectives['must-revalidate'] = true;
              } else {
                  unset($this->_cacheDirectives['must-revalidate']);
              }
              $this->_setCacheControl();
          }
  
          return array_key_exists('must-revalidate', $this->_cacheDirectives);
      }
code_tokens: public function mustRevalidate ( $ enable = null ) { deprecationWarning ( 'Response::mustRevalidate() is deprecated. ' . 'Use withMustRevalidate() instead.' ) ; if ( $ enable !== null ) { if ( $ enable ) { $ this -> _cacheDirectives [ 'must-revalidate' ] = true ; } else { unset ( $ this -> _cacheDirectives [ 'must-revalidate' ] ) ; } $ this -> _setCacheControl ( ) ; } return array_key_exists ( 'must-revalidate' , $ this -> _cacheDirectives ) ; }
docstring: Sets the Cache-Control must-revalidate directive.
  must-revalidate indicates that the response should not be served
  stale by a cache under any circumstance without first revalidating
  with the origin.
  If called with no parameters, this function will return whether must-revalidate is present.
  
  @param bool|null $enable if null, the method will return the current
  must-revalidate value. If boolean sets or unsets the directive.
  @return bool
  @deprecated 3.4.0 Use withMustRevalidate() instead.
docstring_tokens: Sets the Cache - Control must - revalidate directive . must - revalidate indicates that the response should not be served stale by a cache under any circumstance without first revalidating with the origin . If called with no parameters this function will return whether must - revalidate is present .