PluginProbe ʕ •ᴥ•ʔ
Matomo Analytics – Powerful, Privacy-First Insights for WordPress / 5.0.7
Matomo Analytics – Powerful, Privacy-First Insights for WordPress v5.0.7
5.11.1 5.11.0 5.10.2 5.10.1 trunk 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.1.0 1.1.1 1.1.2 1.1.3 1.2.0 1.3.0 1.3.1 1.3.2 4.0.0 4.0.1 4.0.2 4.0.3 4.0.4 4.1.0 4.1.1 4.1.2 4.1.3 4.10.0 4.11.0 4.12.0 4.13.0 4.13.2 4.13.3 4.13.4 4.13.5 4.14.0 4.14.1 4.14.2 4.15.0 4.15.1 4.15.2 4.15.3 4.2.0 4.3.0 4.3.1 4.4.1 4.4.2 4.5.0 4.6.0 5.0.1 5.0.2 5.0.3 5.0.4 5.0.5 5.0.6 5.0.7 5.0.8 5.1.0 5.1.1 5.1.2 5.1.3 5.1.4 5.1.5 5.1.6 5.1.7 5.10.0 5.2.0 5.2.1 5.2.2 5.3.0 5.3.1 5.3.2 5.3.3 5.6.0 5.6.1 5.7.0 5.7.1 5.8.0 5.8.1 5.8.2
matomo / classes / WpMatomo / Ecommerce / MatomoTestEcommerce.php
matomo / classes / WpMatomo / Ecommerce Last commit date
Base.php 2 years ago EasyDigitalDownloads.php 4 years ago MatomoTestEcommerce.php 4 years ago MemberPress.php 3 years ago Woocommerce.php 2 years ago
MatomoTestEcommerce.php
38 lines
1 <?php
2
3 namespace WpMatomo\Ecommerce;
4
5 /**
6 * this class is required only for phpunit tests.
7 * It allow to change the visibility of some methods of the Base class
8 * and so allow to test them in the unit tests
9 *
10 * phpcs:disable Generic.CodeAnalysis.UselessOverridingMethod.Found
11 */
12 class MatomoTestEcommerce extends Base {
13
14 /**
15 * Render public the wrap_script method. Required for the unit tests
16 *
17 * @param string $script
18 *
19 * @return string
20 * @see Base::wrap_script()
21 */
22 public function wrap_script( $script ) {
23 return parent::wrap_script( $script );
24 }
25
26 /**
27 * Render public the wrap_script method. Required for the unit tests
28 *
29 * @param [] $params
30 *
31 * @return string
32 * @see Base::make_matomo_js_tracker_call()
33 */
34 public function make_matomo_js_tracker_call( $params ) {
35 return parent::make_matomo_js_tracker_call( $params );
36 }
37 }
38