コード例 #1
0
ファイル: YamlFactory.class.php プロジェクト: Nivl/Ninaca_1
 public static function getInstance()
 {
     if (self::$Instance === null) {
         $type = self::getType();
         $class_name = "{$type}Yaml";
         self::$Instance = new $class_name();
     }
     return self::$Instance;
 }