55import java .util .Map ;
66import java .util .function .Consumer ;
77
8- public class PHPJava {
8+ public class JavaPHP {
99 private final String PHP_BIN_PATH ;
1010 private final boolean NO_PHP_WARN ;
1111
@@ -18,7 +18,7 @@ public class PHPJava {
1818 * Creates a PHPJava instance
1919 * @param php_bin_path PHP binary file path (e.g /usr/bin/php)
2020 */
21- public PHPJava (String php_bin_path , boolean ignorePHPWarnings ){
21+ public JavaPHP (String php_bin_path , boolean ignorePHPWarnings ){
2222 this .PHP_BIN_PATH = php_bin_path ;
2323 this .NO_PHP_WARN = ignorePHPWarnings ;
2424 }
@@ -27,15 +27,15 @@ public PHPJava(String php_bin_path, boolean ignorePHPWarnings){
2727 * Creates a PHPJava instance
2828 * @param ignorePHPWarnings Specifies if PHP Warning and PHP Startup errors should be ignored
2929 */
30- public PHPJava (boolean ignorePHPWarnings ){
30+ public JavaPHP (boolean ignorePHPWarnings ){
3131 this .PHP_BIN_PATH = "php" ;
3232 this .NO_PHP_WARN = ignorePHPWarnings ;
3333 }
3434
3535 /**
3636 * Creates a PHPJava instance
3737 */
38- public PHPJava (){
38+ public JavaPHP (){
3939 this .PHP_BIN_PATH = "php" ;
4040 this .NO_PHP_WARN = false ;
4141 }
@@ -51,7 +51,7 @@ public void setPHPVars(Map<String, String> variables){
5151 }
5252
5353 /**
54- * Runs the PHP file specified in the {@link PHPJava } constructor.<br><br>
54+ * Runs the PHP file specified in the {@link JavaPHP } constructor.<br><br>
5555 * The result can be retrieved with {@link #getResult()} function.
5656 *
5757 * @param php_filepath The file path of the PHP file to be executed.
0 commit comments