예제 #1
0
 /**
  * initiate a SplFileObject::fputcsv method
  */
 protected static function initFputcsv()
 {
     if (is_null(self::$fputcsv)) {
         self::$fputcsv = new ReflectionMethod('\\SplFileObject', 'fputcsv');
         self::$fputcsv_param_count = self::$fputcsv->getNumberOfParameters();
     }
 }