Viewing File: /home/rtsgrob/ww3/wp-content/plugins/mailpoet/vendor-prefixed/doctrine/orm/src/Version.php

<?php
declare (strict_types=1);
namespace MailPoetVendor\Doctrine\ORM;
if (!defined('ABSPATH')) exit;
use function str_replace;
use function strtolower;
use function version_compare;
class Version
{
 public const VERSION = '2.7.1-DEV';
 public static function compare($version)
 {
 $currentVersion = str_replace(' ', '', strtolower(self::VERSION));
 $version = str_replace(' ', '', $version);
 return version_compare($version, $currentVersion);
 }
}
Back to Directory File Manager