original_string: public function autoLayout($autoLayout = null)
      {
          deprecationWarning(
              'View::autoLayout() is deprecated. ' .
              'Use isAutoLayoutEnabled()/enableAutoLayout() instead.'
          );
  
          if ($autoLayout === null) {
              return $this->autoLayout;
          }
  
          $this->autoLayout = $autoLayout;
      }
code: public function autoLayout($autoLayout = null)
      {
          deprecationWarning(
              'View::autoLayout() is deprecated. ' .
              'Use isAutoLayoutEnabled()/enableAutoLayout() instead.'
          );
  
          if ($autoLayout === null) {
              return $this->autoLayout;
          }
  
          $this->autoLayout = $autoLayout;
      }
code_tokens: public function autoLayout ( $ autoLayout = null ) { deprecationWarning ( 'View::autoLayout() is deprecated. ' . 'Use isAutoLayoutEnabled()/enableAutoLayout() instead.' ) ; if ( $ autoLayout === null ) { return $ this -> autoLayout ; } $ this -> autoLayout = $ autoLayout ; }
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 templates.
  
  @deprecated 3.5.0 Use isAutoLayoutEnabled()/enableAutoLayout() instead.
  @param bool|null $autoLayout Boolean to turn on/off. If null returns current value.
  @return bool|null
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 templates .