class-wc-stripe-apple-pay.php
721 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* DEPRECATED DO NOT USE!!
*/
if ( ! class_exists( 'WC_Stripe_Apple_Pay' ) ) {
class WC_Stripe_Apple_Pay {
/**
* This Instance.
*
* @var
*/
private static $_this;
public function __construct() {
self::$_this = $this;
}
public static function instance() {
WC_Stripe_Logger::log( 'DEPRECATED! WC_Stripe_Apple_Pay class has been hard deprecated. Please remove any code that references this class or instance. This class will be removed by version 4.2' );
return self::$_this;
}
public function __get( $var ) {
return null;
}
public function __call( $name, $arguments ) {
return null;
}
}
}
new WC_Stripe_Apple_Pay();