PluginProbe ʕ •ᴥ•ʔ
Reviews Feed – Add Testimonials and Customer Reviews From Google Reviews, Yelp, TripAdvisor, and More / 2.7.0
Reviews Feed – Add Testimonials and Customer Reviews From Google Reviews, Yelp, TripAdvisor, and More v2.7.0
2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.7 2.6.8 2.6.5 2.6.4 2.6.3 2.6.2 2.6.0 2.5.5 2.5.4 2.5.3 2.5.2 trunk 1.0 1.0.1 1.0.2 1.0.3 1.1 1.1.1 1.1.2 1.2.0 2.0 2.1.0 2.1.1 2.4.0 2.4.1 2.4.2 2.4.3 2.4.4 2.4.5 2.4.6 2.5.0 2.5.1
reviews-feed / class / Common / ServiceContainer.php
reviews-feed / class / Common Last commit date
Admin 1 month ago Builder 1 month ago Customizer 1 month ago Exceptions 1 month ago Helpers 1 month ago Integrations 1 month ago Migrations 1 month ago ReviewAlerts 1 month ago Services 1 month ago Settings 1 month ago Support 1 month ago Traits 1 month ago Utils 1 month ago AuthorizationStatusCheck.php 1 month ago BusinessDataCache.php 1 month ago Clear_Cache.php 1 month ago Container.php 1 month ago DisplayElements.php 1 month ago Email_Notification.php 1 month ago Error_Reporter.php 1 month ago Feed.php 1 month ago FeedCache.php 1 month ago FeedCacheUpdater.php 1 month ago FeedDisplay.php 1 month ago Feed_Locator.php 1 month ago Parser.php 1 month ago PostAggregator.php 1 month ago RemoteRequest.php 1 month ago SBR_Education.php 1 month ago SBR_Settings.php 1 month ago ServiceContainer.php 1 month ago SinglePostCache.php 1 month ago TemplateRenderer.php 1 month ago Tooltip_Wizard.php 1 month ago Util.php 1 month ago
ServiceContainer.php
95 lines
1 <?php
2
3 namespace SmashBalloon\Reviews\Common;
4
5 use SmashBalloon\Reviews\Common\Admin\Blocks\SB_Recommended_Blocks;
6 use SmashBalloon\Reviews\Common\Admin\MenuService;
7 use SmashBalloon\Reviews\Common\Admin\SBR_Admin_Notice;
8 use SmashBalloon\Reviews\Common\Admin\SBR_Collections_Builder;
9 use SmashBalloon\Reviews\Common\Admin\SBR_New_User;
10 use SmashBalloon\Reviews\Common\Admin\SBR_Notifications;
11 use SmashBalloon\Reviews\Common\Admin\SBR_Plugin_Insltaller;
12 use SmashBalloon\Reviews\Common\Admin\SBR_Support_Tool;
13 use SmashBalloon\Reviews\Common\Builder\SBR_Feed_Builder;
14 use SmashBalloon\Reviews\Common\Builder\SBR_New_Providers_Manager;
15 use SmashBalloon\Reviews\Common\Integrations\Analytics\SB_Analytics;
16 use SmashBalloon\Reviews\Common\Integrations\Providers\Google;
17 use SmashBalloon\Reviews\Common\Integrations\Providers\Yelp;
18 use SmashBalloon\Reviews\Common\Services\CLIService;
19 use SmashBalloon\Reviews\Common\Services\FeedCacheUpdateService;
20 use SmashBalloon\Reviews\Common\Services\SBR_Upgrader;
21 use SmashBalloon\Reviews\Common\Services\SettingsManagerService;
22 use SmashBalloon\Reviews\Common\Services\ShortcodeService;
23 use SmashBalloon\Reviews\Common\Services\MigrationReactivationNotice;
24 use SmashBalloon\Reviews\Common\Services\SiteUrlWatcher;
25 use SmashBalloon\Reviews\Common\Utils\EmailVerification;
26 use Smashballoon\Stubs\Services\ServiceProvider;
27 use SmashBalloon\Reviews\Common\Services\Upgrade\RoutineManagerService;
28 use SmashBalloon\Reviews\Common\Builder\SBR_Feed_Saver_Manager;
29 use SmashBalloon\Reviews\Common\Migrations\Reviews_Post;
30 use SmashBalloon\Reviews\Common\Settings\SBR_Settings_Builder;
31 use SmashBalloon\Reviews\Common\Admin\SBR_About_Builder;
32 use SmashBalloon\Reviews\Common\Admin\SBR_Support_Builder;
33 use SmashBalloon\Reviews\Common\Tooltip_Wizard;
34 use SmashBalloon\Reviews\Common\Admin\Blocks\SB_Reviews_Blocks;
35 use SmashBalloon\Reviews\Common\Integrations\Elementor\SBR_Elementor_Base;
36 use SmashBalloon\Reviews\Common\ReviewAlerts\SBR_Review_Alert_Service;
37 use SmashBalloon\Reviews\Common\ReviewAlerts\SBR_Review_Alert_Frontend;
38 use SmashBalloon\Reviews\Common\ReviewAlerts\SBR_ReviewAlert_Builder;
39
40 class ServiceContainer extends ServiceProvider
41 {
42 protected $services = [
43 Reviews_Post::class,
44 MenuService::class,
45 RoutineManagerService::class,
46 //Customizer Services
47 \Smashballoon\Customizer\V2\ServiceContainer::class,
48 FeedCacheUpdateService::class,
49 SettingsManagerService::class,
50 ShortcodeService::class,
51 // SMASH-1281 — syncs sbr_settings['website_url'] when WP admin
52 // legitimately changes the site URL, preventing the proactive
53 // site-migration guard from spuriously firing on HTTP→HTTPS rollouts
54 // or www/apex swaps.
55 SiteUrlWatcher::class,
56 // SMASH-1281 — renders the dismissible admin notice after a
57 // successful silent license re-activation on a migrated site.
58 MigrationReactivationNotice::class,
59 Google::class,
60 Yelp::class,
61 SB_Analytics::class,
62 CLIService::class,
63 SBR_Feed_Saver_Manager::class,
64 SBR_New_Providers_Manager::class,
65 SBR_Feed_Builder::class,
66 Clear_Cache::class,
67 SBR_Settings_Builder::class,
68 SBR_About_Builder::class,
69 SBR_Support_Builder::class,
70 SBR_Admin_Notice::class,
71 SBR_Plugin_Insltaller::class,
72 SB_Reviews_Blocks::class,
73 SB_Recommended_Blocks::class,
74 Tooltip_Wizard::class,
75 SBR_Notifications::class,
76 SBR_New_User::class,
77 SBR_Upgrader::class,
78 SBR_Collections_Builder::class,
79 SBR_Support_Tool::class,
80 SBR_Elementor_Base::class,
81 Error_Reporter::class,
82 // Review Alert Services
83 SBR_Review_Alert_Service::class,
84 SBR_Review_Alert_Frontend::class,
85 SBR_ReviewAlert_Builder::class,
86 ];
87
88 public function register(): void
89 {
90 foreach ($this->services as $service) {
91 Container::getInstance()->get($service)->register();
92 }
93 }
94 }
95