original_string: protected function _getRegion()
      {
          if (isset($this->_matchingData['BlockRegions'])) {
              return $this->_matchingData['BlockRegions'];
          }
  
          if (isset($this->_properties['region'])) {
              return $this->_properties['region'];
          }
      }
code: protected function _getRegion()
      {
          if (isset($this->_matchingData['BlockRegions'])) {
              return $this->_matchingData['BlockRegions'];
          }
  
          if (isset($this->_properties['region'])) {
              return $this->_properties['region'];
          }
      }
code_tokens: protected function _getRegion ( ) { if ( isset ( $ this -> _matchingData [ 'BlockRegions' ] ) ) { return $ this -> _matchingData [ 'BlockRegions' ] ; } if ( isset ( $ this -> _properties [ 'region' ] ) ) { return $ this -> _properties [ 'region' ] ; } }
docstring: Tries to get block's region.
  
  This method is used when finding blocks matching a particular region.
  
  @return \Block\Model\Entity\BlockRegion
docstring_tokens: Tries to get block s region .