original_string: protected static function _getPluginData(array $data, $key = null)
      {
          if (isset($data[$key])) {
              $data = $data[$key];
          }
  
          return new Data($data);
      }
code: protected static function _getPluginData(array $data, $key = null)
      {
          if (isset($data[$key])) {
              $data = $data[$key];
          }
  
          return new Data($data);
      }
code_tokens: protected static function _getPluginData ( array $ data , $ key = null ) { if ( isset ( $ data [ $ key ] ) ) { $ data = $ data [ $ key ] ; } return new Data ( $ data ) ; }
docstring: Get current plugin data.
  
  @param array $data
  @param null|string $key
  @return Data
docstring_tokens: Get current plugin data .