瀏覽代碼

[HttpKernel] added some constant for better forward compatibility

Fabien Potencier 13 年之前
父節點
當前提交
cbc3ed36b9
共有 1 個文件被更改,包括 6 次插入1 次删除
  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 $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.