Преглед на файлове

[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.