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

Inheritance: extends AppserverIo\Psr\Servlet\ServletContextInterface
Afficher le fichier Open project: appserver-io/appserver

Méthodes publiques

Méthode 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 méthode

Returns the absolute path to the application directory.
public getAppBase ( ) : string
Résultat string The absolute path to the application directory

getBaseDirectory() public méthode

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
Résultat string The absolute path the application server's base directory