PluginProbe ʕ •ᴥ•ʔ
Reviews Feed – Add Testimonials and Customer Reviews From Google Reviews, Yelp, TripAdvisor, and More / 2.11.0
Reviews Feed – Add Testimonials and Customer Reviews From Google Reviews, Yelp, TripAdvisor, and More v2.11.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 week ago Builder 1 week ago Customizer 1 week ago Exceptions 1 week ago Helpers 1 week ago Integrations 1 week ago Migrations 1 week ago ReviewAlerts 1 week ago Services 1 week ago Settings 1 week ago Support 1 week ago Traits 1 week ago UsageTracking 1 week ago Utils 1 week ago AuthorizationStatusCheck.php 1 week ago BusinessDataCache.php 1 week ago Clear_Cache.php 1 week ago Container.php 1 week ago DisplayElements.php 1 week ago Email_Notification.php 1 week ago Error_Reporter.php 1 week ago Feed.php 1 week ago FeedCache.php 1 week ago FeedCacheUpdater.php 1 week ago FeedDisplay.php 1 week ago Feed_Locator.php 1 week ago Parser.php 1 week ago PostAggregator.php 1 week ago RemoteRequest.php 1 week ago SBR_Education.php 1 week ago SBR_Schema_Service.php 1 week ago SBR_Settings.php 1 week ago ServiceContainer.php 1 week ago SinglePostCache.php 1 week ago TemplateRenderer.php 1 week ago Tooltip_Wizard.php 1 week ago Util.php 1 week ago
ServiceContainer.php
99 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 use SmashBalloon\Reviews\Common\UsageTracking\SmashUsageTracking;
40
41 class ServiceContainer extends ServiceProvider
42 {
43 protected $services = [
44 Reviews_Post::class,
45 MenuService::class,
46 RoutineManagerService::class,
47 //Customizer Services
48 \Smashballoon\Customizer\V2\ServiceContainer::class,
49 FeedCacheUpdateService::class,
50 SettingsManagerService::class,
51 ShortcodeService::class,
52 // SMASH-1281 — syncs sbr_settings['website_url'] when WP admin
53 // legitimately changes the site URL, preventing the proactive
54 // site-migration guard from spuriously firing on HTTP→HTTPS rollouts
55 // or www/apex swaps.
56 SiteUrlWatcher::class,
57 // SMASH-1281 — renders the dismissible admin notice after a
58 // successful silent license re-activation on a migrated site.
59 MigrationReactivationNotice::class,
60 Google::class,
61 Yelp::class,
62 SB_Analytics::class,
63 CLIService::class,
64 SBR_Feed_Saver_Manager::class,
65 SBR_New_Providers_Manager::class,
66 SBR_Feed_Builder::class,
67 Clear_Cache::class,
68 SBR_Settings_Builder::class,
69 SBR_About_Builder::class,
70 SBR_Support_Builder::class,
71 SBR_Admin_Notice::class,
72 SBR_Plugin_Insltaller::class,
73 SB_Reviews_Blocks::class,
74 SB_Recommended_Blocks::class,
75 Tooltip_Wizard::class,
76 SBR_Notifications::class,
77 SBR_New_User::class,
78 SBR_Upgrader::class,
79 SBR_Collections_Builder::class,
80 SBR_Support_Tool::class,
81 SBR_Elementor_Base::class,
82 Error_Reporter::class,
83 // Review Alert Services
84 SBR_Review_Alert_Service::class,
85 SBR_Review_Alert_Frontend::class,
86 SBR_ReviewAlert_Builder::class,
87 // SMASH-1756 — schema.org rich-snippet output (AIOSEO handshake + JSON-LD fallback)
88 SBR_Schema_Service::class,
89 SmashUsageTracking::class,
90 ];
91
92 public function register(): void
93 {
94 foreach ($this->services as $service) {
95 Container::getInstance()->get($service)->register();
96 }
97 }
98 }
99