public CakePhpIgnoredFilesExtender(PhpModule phpModule) { assert phpModule != null; if (CakePreferences.ignoreTmpDirectory(phpModule)) { CakePhpModule cakeModule = CakePhpModule.forPhpModule(phpModule); if (cakeModule == null) { appTmp = null; } else { FileObject tmpDirectory = cakeModule.getDirectory(DIR_TYPE.APP, FILE_TYPE.TMP, null); appTmp = tmpDirectory == null ? null : FileUtil.toFile(tmpDirectory); } } else { appTmp = null; } }