/** * the singleton pattern * * @return Phone_Controller_MyPhone */ public static function getInstance() { if (self::$_instance === NULL) { self::$_instance = new Phone_Controller_MyPhone(); } return self::$_instance; }
/** * the singleton pattern * * @return Phone_Controller_MyPhone */ public static function getInstance() { if (self::$_instance === NULL) { self::$_instance = new self(); } return self::$_instance; }