Skip to content
Snippets Groups Projects
Commit 487b38ea authored by Erick Hitter's avatar Erick Hitter
Browse files

Dummy magic methods, placeholders for now

parent 2ee6ad69
Branches
No related tags found
1 merge request!1WIP: Initial release
This commit is part of merge request !1. Comments created here will be created in the context of that merge request.
...@@ -39,6 +39,17 @@ class ETH_AMP_Analytics_WP { ...@@ -39,6 +39,17 @@ class ETH_AMP_Analytics_WP {
return self::$instance; return self::$instance;
} }
/**
* Dummy magic methods
*/
public function __clone() {_doing_it_wrong( __FUNCTION__, __( 'Cheatin’ huh?', 'eth-amp-analytics-wp' ), '0.1' ); }
public function __wakeup() { _doing_it_wrong( __FUNCTION__, __( 'Cheatin’ huh?', 'eth-amp-analytics-wp' ), '0.1' ); }
public function __isset( $key ) { _doing_it_wrong( __FUNCTION__, __( 'Cheatin’ huh?', 'eth-amp-analytics-wp' ), '0.1' ); }
public function __get( $key ) { _doing_it_wrong( __FUNCTION__, __( 'Cheatin’ huh?', 'eth-amp-analytics-wp' ), '0.1' ); }
public function __set( $key, $value ) { _doing_it_wrong( __FUNCTION__, __( 'Cheatin’ huh?', 'eth-amp-analytics-wp' ), '0.1' ); }
public function __unset( $key ) { _doing_it_wrong( __FUNCTION__, __( 'Cheatin’ huh?', 'eth-amp-analytics-wp' ), '0.1' ); }
public function __call( $name = '', $args = array() ) { unset( $name, $args ); return null; }
/** /**
* Class properties * Class properties
*/ */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment