public function undeploy(ContainerNodeInterface $containerNode, $uuid)
{
// try to load the app node with the passe UUID
if ($appNode = $this->load($uuid)) {
// prepare file name
$extractor = $this->getExtractor();
$fileName = $appNode->getName() . $extractor->getExtensionSuffix();
// load the file info
$archive = new \SplFileInfo($this->getDeployDir($containerNode) . DIRECTORY_SEPARATOR . $fileName);
// un-flag the archiv => un-deploy it with the next restart
$extractor->unflagArchive($archive);
}
}