コード例 #1
0
 /**
  * Gets the instance of singleton class
  * @return Exceptionizer itself
  */
 static function getInstance()
 {
     if (!LazySingleton::isInstantiated(__CLASS__)) {
         sort(LazySingleton::instance(__CLASS__)->translatableErrorTypes);
     }
     return LazySingleton::instance(__CLASS__);
 }
コード例 #2
0
 /**
  * @return ExceptionRegistrar
  */
 static function getInstance()
 {
     return LazySingleton::instance(__CLASS__);
 }
コード例 #3
0
 /**
  * @return Session
  */
 static function getInstance()
 {
     $me = parent::instance(__CLASS__);
     return $me;
 }