original_string: public function autoLayout($enable = null)
      {
          deprecationWarning('ViewBuilder::autoLayout() is deprecated. Use ViewBuilder::enableAutoLayout() or ViewBuilder::isAutoLayoutEnable() instead.');
          if ($enable !== null) {
              return $this->enableAutoLayout($enable);
          }
  
          return $this->isAutoLayoutEnabled();
      }
code: public function autoLayout($enable = null)
      {
          deprecationWarning('ViewBuilder::autoLayout() is deprecated. Use ViewBuilder::enableAutoLayout() or ViewBuilder::isAutoLayoutEnable() instead.');
          if ($enable !== null) {
              return $this->enableAutoLayout($enable);
          }
  
          return $this->isAutoLayoutEnabled();
      }
code_tokens: public function autoLayout ( $ enable = null ) { deprecationWarning ( 'ViewBuilder::autoLayout() is deprecated. Use ViewBuilder::enableAutoLayout() or ViewBuilder::isAutoLayoutEnable() instead.' ) ; if ( $ enable !== null ) { return $ this -> enableAutoLayout ( $ enable ) ; } return $ this -> isAutoLayoutEnabled ( ) ; }
docstring: Turns on or off CakePHP's conventional mode of applying layout files.
  On by default. Setting to off means that layouts will not be
  automatically applied to rendered views.
  
  @deprecated 3.4.0 Use enableAutoLayout()/isAutoLayoutEnabled() instead.
  @param bool|null $enable Boolean to turn on/off. If null returns current value.
  @return bool|$this
docstring_tokens: Turns on or off CakePHP s conventional mode of applying layout files . On by default . Setting to off means that layouts will not be automatically applied to rendered views .