Pārlūkot izejas kodu

[HttpKernel] added some constant for better forward compatibility

Fabien Potencier 13 gadi atpakaļ
vecāks
revīzija
cbc3ed36b9
1 mainītis faili ar 6 papildinājumiem un 1 dzēšanām
  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.