original_string: protected function plugSizeToBytes($plugSize)
      {
          // return size in bytes based on plugSize.
          if (isset($this->_dataSize[$plugSize])) {
              return $this->_dataSize[$plugSize];
          }
  
          throw new \Exception("plugSize '$plugSize' is not valid. Try one of these: " . $this->validPlugSizeList());
      }
code: protected function plugSizeToBytes($plugSize)
      {
          // return size in bytes based on plugSize.
          if (isset($this->_dataSize[$plugSize])) {
              return $this->_dataSize[$plugSize];
          }
  
          throw new \Exception("plugSize '$plugSize' is not valid. Try one of these: " . $this->validPlugSizeList());
      }
code_tokens: protected function plugSizeToBytes ( $ plugSize ) { // return size in bytes based on plugSize. if ( isset ( $ this -> _dataSize [ $ plugSize ] ) ) { return $ this -> _dataSize [ $ plugSize ] ; } throw new \ Exception ( "plugSize '$plugSize' is not valid. Try one of these: " . $ this -> validPlugSizeList ( ) ) ; }
docstring: return size in bytes based on plugSize.
  
  @param $plugSize
  @throws \Exception
docstring_tokens: return size in bytes based on plugSize .