original_string: public function region($name, $options = [], $force = false)
      {
          if (empty($this->_regions[$name]) || $force) {
              $this->_regions[$name] = new Region($this, $name, $options);
          }
  
          return $this->_regions[$name];
      }
code: public function region($name, $options = [], $force = false)
      {
          if (empty($this->_regions[$name]) || $force) {
              $this->_regions[$name] = new Region($this, $name, $options);
          }
  
          return $this->_regions[$name];
      }
code_tokens: public function region ( $ name , $ options = [ ] , $ force = false ) { if ( empty ( $ this -> _regions [ $ name ] ) || $ force ) { $ this -> _regions [ $ name ] = new Region ( $ this , $ name , $ options ) ; } return $ this -> _regions [ $ name ] ; }
docstring: Defines a new theme region to be rendered.
  
  ### Usage:
  
  Merge `left-sidebar` and `right-sidebar` regions together, the resulting
  region limits the number of blocks it can holds to `3`:
  
  ```php
  echo $this->region('left-sidebar')
  ->append($this->region('right-sidebar'))
  ->blockLimit(3);
  ```
  
  ### Valid options are:
  
  - `fixMissing`: When creating a region that is not defined by the theme, it
  will try to fix it by adding it to theme's regions if this option is set to
  TRUE. Defaults to NULL which automatically enables when `debug` is enabled.
  This option will not work when using QuickAppsCMS's core themes. (NOTE:
  This option will alter theme's `composer.json` file).
  
  - `theme`: Name of the theme this regions belongs to. Defaults to auto-
  detect.
  
  @param string $name Theme's region machine-name. e.g. `left-sidebar`
  @param array $options Additional options for region being created
  @param bool $force Whether to skip reading from cache or not, defaults to
  false will get from cache if exists.
  @return \Block\View\Region Region object
  @see \Block\View\Region
docstring_tokens: Defines a new theme region to be rendered .