File "Version.php"

Full Path: /home/warrior1/public_html/wp-content-20241001222009/plugins/mailpoet/vendor-prefixed/doctrine/orm/lib/Doctrine/ORM/Version.php
File size: 450 bytes
MIME-type: text/x-php
Charset: utf-8

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