AppserverIo\Appserver\Core\AbstractExtractor::getDeployDir PHP 메소드

getDeployDir() 공개 메소드

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
리턴 string
    public function getDeployDir(ContainerNodeInterface $containerNode, $relativePathToAppend = '')
    {
        return $this->getService()->realpath($this->getService()->makePathAbsolute($containerNode->getHost()->getDeployBase() . $this->getService()->makePathAbsolute($relativePathToAppend)));
    }