AppserverIo\Appserver\Core\AbstractExtractor::getDeployDir PHP Method

getDeployDir() public method

Returns the container's deploy directory.
public getDeployDir ( AppserverIo\Appserver\Core\Api\Node\ContainerNodeInterface $containerNode, string $relativePathToAppend = '' ) : string
$containerNode AppserverIo\Appserver\Core\Api\Node\ContainerNodeInterface The container to return the temporary directory for
$relativePathToAppend string A relative path to append
return string
    public function getDeployDir(ContainerNodeInterface $containerNode, $relativePathToAppend = '')
    {
        return $this->getService()->realpath($this->getService()->makePathAbsolute($containerNode->getHost()->getDeployBase() . $this->getService()->makePathAbsolute($relativePathToAppend)));
    }