# wp-optimize/3.2.3/vendor/rosell-dk/htaccess-capability-tester/src/TestResult.php

WP-Optimize – Cache, Compress images, Minify &amp; Clean database to boost page speed &amp; performance, version 3.2.3. 40 lines.

- Page: https://pluginprobe.com/plugins/wp-optimize/3.2.3/code/vendor/rosell-dk/htaccess-capability-tester/src/TestResult.php
- Raw: https://pluginprobe.com/plugins/wp-optimize/3.2.3/raw/vendor/rosell-dk/htaccess-capability-tester/src/TestResult.php
- Modified: 2021-11-30T14:57:30+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/wp-optimize/3.2.3/code/vendor/rosell-dk/htaccess-capability-tester/src/TestResult.php#L10-L20`.

```php
<?php

namespace HtaccessCapabilityTester;

/**
 * Class for holding properties of a TestResult
 *
 * @package    HtaccessCapabilityTester
 * @author     Bjørn Rosell <it@rosell.dk>
 * @since      Class available since the beginning
 */
class TestResult
{

    /* @var bool|null   The result, null if inconclusive */
    public $status;

    /* @var string   Information about how the test failed / became inconclusive */
    public $info;

    /* @var string   Status code of last request in the test */
    public $statusCodeOfLastRequest;

    /**
     * Constructor.
     *
     * @param  bool|null  $status
     * @param  string     $info
     * @param  string     $statusCodeOfLastRequest  (optional)
     *
     * @return void
     */
    public function __construct($status, $info, $statusCodeOfLastRequest = null)
    {
        $this->status = $status;
        $this->info = $info;
        $this->statusCodeOfLastRequest = $statusCodeOfLastRequest;
    }
}

```
