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

unflagArchive() 공개 메소드

Deletes all old flags, so the app will be undeployed with the next appserver restart.
public unflagArchive ( SplFileInfo $archive ) : void
$archive SplFileInfo The archive to unflag
리턴 void
    public function unflagArchive(\SplFileInfo $archive)
    {
        foreach ($this->getFlags() as $flagString) {
            if (file_exists($archive->getRealPath() . $flagString)) {
                unlink($archive->getRealPath() . $flagString);
            }
        }
    }