コード例 #1
0
ファイル: Cleaner.lib.php プロジェクト: NateBrune/bithub
 public function __construct()
 {
     if (isset(self::$current)) {
         throw new ConstructionException('Cannot construct more than one instance of singleton class Cleaner.');
     }
     self::$current = $this;
 }