REDROOM
PHP 8.0.30
Path:
Logout
Edit File
Size: 2.11 KB
Close
/home/certprox/template.certproxywizard.com/wp-content/plugins/hostinger-reach/src/Providers/JobsProvider.php
Text
Base64
<?php namespace Hostinger\Reach\Providers; use Hostinger\Reach\Api\Handlers\ReachApiHandler; use Hostinger\Reach\Api\Webhooks\Handlers\CartAbandoned; use Hostinger\Reach\Container; use Hostinger\Reach\Integrations\ImportManager; use Hostinger\Reach\Jobs\AbandonedCartsJob; use Hostinger\Reach\Jobs\ActionScheduler; use Hostinger\Reach\Jobs\ImportJob; use Hostinger\Reach\Jobs\CleanupCartsJob; use Hostinger\Reach\Repositories\CartRepository; if ( ! defined( 'ABSPATH' ) ) { die; } class JobsProvider implements ProviderInterface { public function register( Container $container ): void { $action_scheduler = new ActionScheduler(); $container->set( ActionScheduler::class, function () use ( $action_scheduler ) { return $action_scheduler; } ); $jobs = array( AbandonedCartsJob::class => array( $container->get( ActionScheduler::class ), $container->get( ReachApiHandler::class ), $container->get( CartRepository::class ), $container->get( CartAbandoned::class ), ), ImportJob::class => array( $container->get( ActionScheduler::class ), $container->get( ReachApiHandler::class ), $container->get( ImportManager::class ), ), CleanupCartsJob::class => array( $container->get( ActionScheduler::class ), $container->get( ReachApiHandler::class ), $container->get( CartRepository::class ), ), ); foreach ( $jobs as $class_name => $dependencies ) { $job = new $class_name( ...$dependencies ); $container->set( $job::class, function () use ( $job ) { return $job; } ); $job = $container->get( $job::class ); add_action( 'init', function () use ( $job ): void { $job->init(); } ); } } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 18
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
AmplitudeProvider.php
791 B
lrw-r--r--
2026-06-10 16:30:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
AssetsProvider.php
674 B
lrw-r--r--
2026-06-10 16:30:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
BlocksProvider.php
1.08 KB
lrw-r--r--
2026-06-10 16:30:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
ClientProvider.php
1.17 KB
lrw-r--r--
2026-06-10 16:30:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
ContainerProvider.php
310 B
lrw-r--r--
2026-06-10 16:30:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
DatabaseProvider.php
983 B
lrw-r--r--
2026-06-10 16:30:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
HostingRoutesProvider.php
895 B
lrw-r--r--
2026-06-10 16:30:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
IntegrationsProvider.php
3.79 KB
lrw-r--r--
2026-06-10 16:30:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
JobsProvider.php
2.11 KB
lrw-r--r--
2026-06-10 16:30:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
MenusProvider.php
506 B
lrw-r--r--
2026-06-10 16:30:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
NoticesProvider.php
1.01 KB
lrw-r--r--
2026-06-10 16:30:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
ProviderInterface.php
169 B
lrw-r--r--
2026-06-10 16:30:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
RedirectsProvider.php
528 B
lrw-r--r--
2026-06-10 16:30:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
RoutesProvider.php
1.58 KB
lrw-r--r--
2026-06-10 16:30:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
SurveysProvider.php
901 B
lrw-r--r--
2026-06-10 16:30:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
TrackingProvider.php
901 B
lrw-r--r--
2026-06-10 16:30:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
WebhooksProvider.php
1.51 KB
lrw-r--r--
2026-06-10 16:30:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
WpdbProvider.php
328 B
lrw-r--r--
2026-06-10 16:30:29
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).