Files
DomFramework/src/Version.php

28 lines
635 B
PHP

<?php
/** DomFramework
* @package domframework
* @author Dominique Fournier <dominique@fournier38.fr>
* @license BSD
*/
namespace Domframework;
/** This is the version of DomFramework.
* It can be used to test if the framework is uptodate for the application
* with :
* require ("domframework/version.php");
* if (!defined ("DOMFRAMEWORK_VERSION") ||
* version_compare (DOMFRAMEWORK_VERSION, "0.6") < 0)
* die ("Your DomFramework version is too old : 0.6 minimum\n");
*/
class Version
{
const DOMFRAMEWORK_VERSION = "2.0";
static function version ()
{
return self::DOMFRAMEWORK_VERSION;
}
}