AppserverIo\Appserver\Core\AbstractExtractor::isDeployable PHP Метод

isDeployable() публичный Метод

(non-PHPdoc)
См. также: AppserverIo\Appserver\Core\Interfaces\ExtractorInterface::isDeployable()
public isDeployable ( SplFileInfo $archive ) : boolean
$archive SplFileInfo The archive object
Результат boolean
    public function isDeployable(\SplFileInfo $archive)
    {
        // check if the .dodeploy flag file exists
        if (file_exists($archive->getPathname() . ExtractorInterface::FLAG_DODEPLOY)) {
            return true;
        }
        // by default it's NOT deployable
        return false;
    }