Last active
March 3, 2017 20:26
-
-
Save georgestephanis/7a0c81593581842d36e2383ae22c0a77 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Test_Class { | |
public static function init() { | |
static $instance = NULL; | |
$instance = new Test_Class(); | |
return $instance; | |
} | |
} | |
class Test_Class_Raw extends Test_Class {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment