PHP Interface AppserverIo\Appserver\ServletEngine\Servlets\Mock\MockServletContextInterface

Inheritance: extends AppserverIo\Psr\Servlet\ServletContextInterface
Show file Open project: appserver-io/appserver

Public Methods

Method Description
getAppBase ( ) : string Returns the absolute path to the application directory.
getBaseDirectory ( string $directoryToAppend = null ) : string Returns the absolute path to the application server's base directory.

Method Details

getAppBase() public method

Returns the absolute path to the application directory.
public getAppBase ( ) : string
return string The absolute path to the application directory

getBaseDirectory() public method

Returns the absolute path to the application server's base directory.
public getBaseDirectory ( string $directoryToAppend = null ) : string
$directoryToAppend string A directory to append to the base directory
return string The absolute path the application server's base directory