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

getTmpDir() public method

Returns the container's tmp directory.
public getTmpDir ( 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 getTmpDir(ContainerNodeInterface $containerNode, $relativePathToAppend = '')
    {
        return $this->getService()->realpath($this->getService()->makePathAbsolute($containerNode->getHost()->getTmpBase() . $this->getService()->makePathAbsolute($relativePathToAppend)));
    }