protected function processAllFiles($models)
    {
        foreach ($models as $model) {
            foreach ($model->getMediaFiles() as $file) {
                $file->reprocess();
            }
        }
    }
protected function processAllFiles($models)
    {
        foreach ($models as $model) {
            foreach ($model->getMediaFiles() as $file) {
                $file->reprocess();
            }
        }
    }
protected function processAllFiles ( $ models ) { foreach ( $ models as $ model ) { foreach ( $ model -> getMediaFiles ( ) as $ file ) { $ file -> reprocess ( ) ; } } }
Process all MediaSort attachments defined on a class.

@return void
Process all MediaSort attachments defined on a class .