AppserverIo\Appserver\Core\Scanner\DeploymentScanner::getLastSuccessfullyDeployment PHP Method

getLastSuccessfullyDeployment() public method

This method returns 0 to signal that the no successful deployment has been processed so far, e. g. the server has been installed and not been started yet.
public getLastSuccessfullyDeployment ( SplFileInfo $file ) : integer
$file SplFileInfo The deployment directory
return integer The UNIX timestamp with the last successfully deployment date or 0 if no successful deployment has been processed
    public function getLastSuccessfullyDeployment(\SplFileInfo $file)
    {
        return $this->getLastFileTouch($file);
    }