Download plugins/Diagnostics/tests/Mock/DiagnosticWithSuccess.php from Leon4gr45/matomo: direct link, hf CLI and curl.
- Browser
- Download file 548 Bytes
-
https://huggingface.co/spaces/Leon4gr45/matomo/resolve/main/plugins/Diagnostics/tests/Mock/DiagnosticWithSuccess.php
- Command line
-
hf download hf://spaces/Leon4gr45/matomo/plugins/Diagnostics/tests/Mock/DiagnosticWithSuccess.php
-
curl -L -o DiagnosticWithSuccess.php https://huggingface.co/spaces/Leon4gr45/matomo/resolve/main/plugins/Diagnostics/tests/Mock/DiagnosticWithSuccess.php
548 Bytes
| /** | |
| * Matomo - free/libre analytics platform | |
| * | |
| * @link https://matomo.org | |
| * @license https://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later | |
| */ | |
| namespace Piwik\Plugins\Diagnostics\tests\Mock; | |
| use Piwik\Plugins\Diagnostics\Diagnostic\Diagnostic; | |
| use Piwik\Plugins\Diagnostics\Diagnostic\DiagnosticResult; | |
| class DiagnosticWithSuccess implements Diagnostic | |
| { | |
| public function execute() | |
| { | |
| return array( | |
| DiagnosticResult::singleResult('Success', DiagnosticResult::STATUS_OK, 'Comment'), | |
| ); | |
| } | |
| } | |