Browse Source

[HttpKernel] added some constant for better forward compatibility

Fabien Potencier 13 years ago
parent
commit
cbc3ed36b9
1 changed files with 6 additions and 1 deletions
  1. 6 1
      src/Symfony/Component/HttpKernel/Kernel.php

+ 6 - 1
src/Symfony/Component/HttpKernel/Kernel.php

@@ -57,7 +57,12 @@ abstract class Kernel implements KernelInterface
     protected $startTime;
     protected $startTime;
     protected $classes;
     protected $classes;
 
 
-    const VERSION = '2.0.14-DEV';
+    const VERSION         = '2.0.14-DEV';
+    const VERSION_ID      = '20014';
+    const MAJOR_VERSION   = '2';
+    const MINOR_VERSION   = '0';
+    const RELEASE_VERSION = '14';
+    const EXTRA_VERSION   = 'DEV';
 
 
     /**
     /**
      * Constructor.
      * Constructor.