PluginProbe
WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance / 3.2.5
WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance v3.2.5
4.7.0 4.6.1 4.6.0 4.5.5 4.5.4 4.5.3 4.5.2 3.2.20 3.2.21 3.2.22 3.2.3 3.2.5 3.2.6 3.2.7 3.2.9 3.3.0 3.3.1 3.3.2 3.4.0 3.4.1 3.4.2 3.5.0 3.6.0 3.7.0 3.7.1 All 111 releases
wp-optimize / vendor / rosell-dk / htaccess-capability-tester / src / TestResult.php

TestResult.php in WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance 3.2.5, at vendor/rosell-dk/htaccess-capability-tester/src/TestResult.php

40 lines 967 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace HtaccessCapabilityTester;
4
5 /**
6 * Class for holding properties of a TestResult
7 *
8 * @package HtaccessCapabilityTester
9 * @author Bjørn Rosell <[email protected]>
10 * @since Class available since the beginning
11 */
12 class TestResult
13 {
14
15 /* @var bool|null The result, null if inconclusive */
16 public $status;
17
18 /* @var string Information about how the test failed / became inconclusive */
19 public $info;
20
21 /* @var string Status code of last request in the test */
22 public $statusCodeOfLastRequest;
23
24 /**
25 * Constructor.
26 *
27 * @param bool|null $status
28 * @param string $info
29 * @param string $statusCodeOfLastRequest (optional)
30 *
31 * @return void
32 */
33 public function __construct($status, $info, $statusCodeOfLastRequest = null)
34 {
35 $this->status = $status;
36 $this->info = $info;
37 $this->statusCodeOfLastRequest = $statusCodeOfLastRequest;
38 }
39 }
40