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