original_string: public function options(array $options = null, $merge = true)
      {
          deprecationWarning('ViewBuilder::options() is deprecated. Use ViewBuilder::setOptions() or ViewBuilder::getOptions() instead.');
          if ($options !== null) {
              return $this->setOptions($options, $merge);
          }
  
          return $this->getOptions();
      }
code: public function options(array $options = null, $merge = true)
      {
          deprecationWarning('ViewBuilder::options() is deprecated. Use ViewBuilder::setOptions() or ViewBuilder::getOptions() instead.');
          if ($options !== null) {
              return $this->setOptions($options, $merge);
          }
  
          return $this->getOptions();
      }
code_tokens: public function options ( array $ options = null , $ merge = true ) { deprecationWarning ( 'ViewBuilder::options() is deprecated. Use ViewBuilder::setOptions() or ViewBuilder::getOptions() instead.' ) ; if ( $ options !== null ) { return $ this -> setOptions ( $ options , $ merge ) ; } return $ this -> getOptions ( ) ; }
docstring: Set additional options for the view.
  
  This lets you provide custom constructor arguments to application/plugin view classes.
  
  @deprecated 3.4.0 Use setOptions()/getOptions() instead.
  @param array|null $options Either an array of options or null to get current options.
  @param bool $merge Whether or not to merge existing data with the new data.
  @return array|$this
docstring_tokens: Set additional options for the view .