Search in sources :

Example 1 with WebServerExtension

use of org.develnext.jphp.ext.webserver.WebServerExtension in project jphp by jphp-compiler.

the class WebserverJvmTestCase method newScope.

@Override
protected CompileScope newScope() {
    CompileScope scope = super.newScope();
    scope.registerExtension(new WebServerExtension());
    scope.setLangMode(LangMode.MODERN);
    return scope;
}
Also used : CompileScope(php.runtime.env.CompileScope) WebServerExtension(org.develnext.jphp.ext.webserver.WebServerExtension)

Aggregations

WebServerExtension (org.develnext.jphp.ext.webserver.WebServerExtension)1 CompileScope (php.runtime.env.CompileScope)1