original_string: static protected function findRecursiveCallback( ezcBaseFileFindContext $context, $sourceDir, $fileName, $fileInfo )
      {
          // ignore if we have a directory
          if ( $fileInfo['mode'] & 0x4000 )
          {
              return;
          }
  
          // update the statistics
          $context->elements[] = $sourceDir . DIRECTORY_SEPARATOR . $fileName;
          $context->count++;
          $context->size += $fileInfo['size'];
      }
code: static protected function findRecursiveCallback( ezcBaseFileFindContext $context, $sourceDir, $fileName, $fileInfo )
      {
          // ignore if we have a directory
          if ( $fileInfo['mode'] & 0x4000 )
          {
              return;
          }
  
          // update the statistics
          $context->elements[] = $sourceDir . DIRECTORY_SEPARATOR . $fileName;
          $context->count++;
          $context->size += $fileInfo['size'];
      }
code_tokens: static protected function findRecursiveCallback ( ezcBaseFileFindContext $ context , $ sourceDir , $ fileName , $ fileInfo ) { // ignore if we have a directory if ( $ fileInfo [ 'mode' ] & 0x4000 ) { return ; } // update the statistics $ context -> elements [ ] = $ sourceDir . DIRECTORY_SEPARATOR . $ fileName ; $ context -> count ++ ; $ context -> size += $ fileInfo [ 'size' ] ; }
docstring: This is the callback used by findRecursive to collect data.
  
  This callback method works together with walkRecursive() and is called
  for every file/and or directory. The $context is a callback specific
  container in which data can be stored and shared between the different
  calls to the callback function. The walkRecursive() function also passes
  in the full absolute directory in $sourceDir, the filename in $fileName
  and file information (such as size, modes, types) as an array as
  returned by PHP's stat() in the $fileInfo parameter.
  
  @param ezcBaseFileFindContext $context
  @param string $sourceDir
  @param string $fileName
  @param array(stat) $fileInfo
docstring_tokens: This is the callback used by findRecursive to collect data .