Download plugins/BulkTracking/tests/Mock/TrackerResponse.php from Leon4gr45/matomo: direct link, hf CLI and curl.
- Browser
- Download file 659 Bytes
-
https://huggingface.co/spaces/Leon4gr45/matomo/resolve/main/plugins/BulkTracking/tests/Mock/TrackerResponse.php
- Command line
-
hf download hf://spaces/Leon4gr45/matomo/plugins/BulkTracking/tests/Mock/TrackerResponse.php
-
curl -L -o TrackerResponse.php https://huggingface.co/spaces/Leon4gr45/matomo/resolve/main/plugins/BulkTracking/tests/Mock/TrackerResponse.php
659 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\BulkTracking\tests\Mock; | |
| use Piwik\Tests\Framework\Mock\Tracker\Response; | |
| class TrackerResponse extends Response | |
| { | |
| private $invalidRequests = array(); | |
| /** | |
| * @var bool | |
| */ | |
| private $isAuthenticated = false; | |
| public function setInvalidRequests($invalidRequests) | |
| { | |
| $this->invalidRequests = $invalidRequests; | |
| } | |
| public function setIsAuthenticated($isAuthenticated) | |
| { | |
| $this->isAuthenticated = $isAuthenticated; | |
| } | |
| } | |