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;
    }