| 1 |
<?php declare(strict_types=1); |
| 2 |
|
| 3 |
namespace MultiSafepay\WooCommerce\Settings; |
| 4 |
|
| 5 |
/** |
| 6 |
* Defines all the functionalities needed on the system report tab in the settings page |
| 7 |
* |
| 8 |
* Class StatusController |
| 9 |
* |
| 10 |
* @package MultiSafepay\WooCommerce\Settings |
| 11 |
*/ |
| 12 |
class StatusController { |
| 13 |
|
| 14 |
/** |
| 15 |
* Render and display the status tab |
| 16 |
*/ |
| 17 |
public function display() { |
| 18 |
$system_report = new SystemReport(); |
| 19 |
$status_report = $system_report->get_multisafepay_system_status_report(); |
| 20 |
$plain_text_status_report = $system_report->get_plain_text_system_status_report(); |
| 21 |
require_once MULTISAFEPAY_PLUGIN_DIR_PATH . 'templates/partials/multisafepay-settings-status-display.php'; |
| 22 |
} |
| 23 |
} |
| 24 |
|