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

isUndeployable() 공개 메소드

(non-PHPdoc)
또한 보기: AppserverIo\Appserver\Core\Interfaces\ExtractorInterface::isUndeployable()
public isUndeployable ( SplFileInfo $archive ) : boolean
$archive SplFileInfo The archive object
리턴 boolean
    public function isUndeployable(\SplFileInfo $archive)
    {
        // make sure that NO flag for the archive is available
        foreach ($this->getFlags() as $flag) {
            if (file_exists($archive->getPathname() . $flag)) {
                return false;
            }
        }
        // it's undeployable if NOT marker file exists
        return true;
    }