PluginProbe
Defender Security – Malware Scanner, Login Security & Firewall / 3.1.0
Defender Security – Malware Scanner, Login Security & Firewall v3.1.0
6.3.0 6.2.3 6.2.4 6.2.0 6.2.1 6.2.2 6.1.0 5.3.1 5.4.0 5.4.1 5.5.0 5.5.1 5.6.0 5.6.1 5.6.2 5.7.0 5.7.1 5.7.2 5.8.0 5.8.1 5.9.0 6.0.0 6.0.1 3.0.1 3.1.0 All 141 releases
defender-security / src / component / security-tweaks / servers / flywheel.php

flywheel.php in Defender Security – Malware Scanner, Login Security & Firewall 3.1.0, at src/component/security-tweaks/servers/flywheel.php

45 lines 643 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace WP_Defender\Component\Security_Tweaks\Servers;
4
5 class Flywheel {
6 /**
7 * Service type.
8 *
9 * @var string
10 */
11 private $type = null;
12
13 public function __construct( $type ) {
14 $this->type = $type;
15 }
16
17 /**
18 * Check whether the issue has been resolved or not.
19 *
20 * @return bool
21 */
22 public function check() {
23 //Todo:add logic using $this->type for 'prevent-php-executed' & 'protect-information'.
24 return false;
25 }
26
27 /**
28 * Process the rule.
29 *
30 * @return bool
31 */
32 public function process() {
33 return true;
34 }
35
36 /**
37 * Revert the rule.
38 *
39 * @return bool
40 */
41 public function revert() {
42 return true;
43 }
44 }
45