public function getWebappsDir(ContainerConfigurationInterface $containerNode, $relativePathToAppend = '')
    {
        return $this->getService()->realpath(
            $this->getService()->makePathAbsolute(
                $containerNode->getHost()->getAppBase() . $this->getService()->makePathAbsolute($relativePathToAppend)
            )
        );
    }
public function getWebappsDir(ContainerConfigurationInterface $containerNode, $relativePathToAppend = '')
    {
        return $this->getService()->realpath(
            $this->getService()->makePathAbsolute(
                $containerNode->getHost()->getAppBase() . $this->getService()->makePathAbsolute($relativePathToAppend)
            )
        );
    }
public function getWebappsDir ( ContainerConfigurationInterface $ containerNode , $ relativePathToAppend = '' ) { return $ this -> getService ( ) -> realpath ( $ this -> getService ( ) -> makePathAbsolute ( $ containerNode -> getHost ( ) -> getAppBase ( ) . $ this -> getService ( ) -> makePathAbsolute ( $ relativePathToAppend ) ) ) ; }
Returns the container's webapps directory.

@param \AppserverIo\Psr\ApplicationServer\Configuration\ContainerConfigurationInterface $containerNode        The container to return the temporary directory for
@param string                                                                           $relativePathToAppend A relative path to append

@return string The web application directory
Returns the container s webapps directory .