first commit

This commit is contained in:
2023-09-12 21:41:04 +02:00
commit 3361a7f053
13284 changed files with 2116755 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
<?php
class WPML_TP_Jobs_Collection_Factory {
/**
* @return WPML_TP_Jobs_Collection
*/
public function create() {
$tp_jobs_collection = null;
$current_project = TranslationProxy::get_current_project();
if ( $current_project ) {
$tp_jobs_collection = new WPML_TP_Jobs_Collection(
TranslationProxy::get_current_project(),
new WPML_TP_Job_Factory(),
new WPML_Translation_Batch_Factory()
);
}
return $tp_jobs_collection;
}
}