use of org.dbflute.logic.generate.language.DfLanguageDependencyPhp in project dbflute-core by dbflute.
the class DfBasicProperties method getLanguageDependency.
public DfLanguageDependency getLanguageDependency() {
if (_languageDependency != null) {
return _languageDependency;
}
final DfLanguageDependency lang;
if (isTargetLanguageJava()) {
lang = new DfLanguageDependencyJava();
} else if (isTargetLanguageCSharp()) {
lang = new DfLanguageDependencyCSharp();
} else if (isTargetLanguagePhp()) {
lang = new DfLanguageDependencyPhp();
} else if (isTargetLanguageScala()) {
lang = new DfLanguageDependencyScala();
} else {
String msg = "The language is unsupported: " + getTargetLanguage();
throw new IllegalStateException(msg);
}
_languageDependency = lang;
return _languageDependency;
}
Aggregations