PHP Interface AppserverIo\Appserver\Core\Api\Node\HostNodeInterface

Show file Open project: appserver-io/appserver

Public Methods

Method Description
getAppBase ( ) : string Returns the application base directory.
getContext ( string $name ) : ContextNode | null Returns the context with the passed name.
getContexts ( ) : array Returns the servers context configuration.
getDeployBase ( ) : string Returns the deployment base directory.
getDirectories ( ) : array Return's the host's directories, e. g. to be created.
getName ( ) : string Returns the host name.
getTmpBase ( ) : string Returns the temporary base directory.

Method Details

getAppBase() public method

Returns the application base directory.
public getAppBase ( ) : string
return string The application base directory

getContext() public method

Returns the context with the passed name.
public getContext ( string $name ) : ContextNode | null
$name string The name of the requested context
return ContextNode | null The requested context node

getContexts() public method

Returns the servers context configuration.
public getContexts ( ) : array
return array servers context configuration

getDeployBase() public method

Returns the deployment base directory.
public getDeployBase ( ) : string
return string The deployment base directory

getDirectories() public method

Return's the host's directories, e. g. to be created.
public getDirectories ( ) : array
return array The array with the host's directories

getName() public method

Returns the host name.
public getName ( ) : string
return string The host name

getTmpBase() public method

Returns the temporary base directory.
public getTmpBase ( ) : string
return string The temporary base directory