/**
* Returns the container's webapps directory.
*
* @param \AppserverIo\Appserver\Core\Api\Node\ContainerInterface $containerNode The container to return the temporary directory for
* @param string $relativePathToAppend A relative path to append
*
* @return string The web application directory
*/
public function getWebappsDir(ContainerNodeInterface $containerNode, $relativePathToAppend = '')
{
return $this->getService()->realpath($this->getService()->makePathAbsolute($containerNode->getHost()->getAppBase() . $this->getService()->makePathAbsolute($relativePathToAppend)));
}