PluginProbe
PhastPress / 1.80
PhastPress v1.80
3.12 3.11 1.75 1.76 1.77 1.78 1.79 1.80 1.81 1.82 1.83 1.84 1.85 1.86 1.87 1.88 1.89 1.90 1.91 1.92 1.93 1.94 1.95 1.96 1.97 All 119 releases
phastpress / classes / ServiceSDKImplementation.php

ServiceSDKImplementation.php in PhastPress 1.80, at classes/ServiceSDKImplementation.php

21 lines 537 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 namespace Kibo\PhastPlugins\PhastPress;
3
4 use Kibo\PhastPlugins\SDK\Common\ServiceHostTrait;
5 use Kibo\PhastPlugins\SDK\ServiceHost;
6
7 class ServiceSDKImplementation implements ServiceHost {
8
9 public function getCacheRootCandidatesProvider() {
10 return new CacheRootCandidatesProviderImplementation();
11 }
12
13 public function onServiceConfigurationLoad(array $config) {
14 if (class_exists(\Requests::class)) {
15 $config['httpClient'] = RequestsHTTPClient::class;
16 }
17 return $config;
18 }
19
20 }
21