code: protected static function prefixData($data)
      {
          $prefixedData = array();
          foreach ($data as $stat => $value) {
              $prefixedKey = self::prefix($stat);
              $prefixedData[$prefixedKey] = $value;
          }
          return $prefixedData;
      }
docs: Takes normal data array from Datadogstatsd library and adds the Laravel prefix functionality
  
  @param $data
  @return array