Skip to content

Commit a92dadd

Browse files
committed
minor #6979 Add specific tip about the http-kernel component (greg0ire)
This PR was merged into the 2.7 branch. Discussion ---------- Add specific tip about the http-kernel component Commits ------- 009d9cc Add specific tip about the http-kernel component
2 parents a524892 + 009d9cc commit a92dadd

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

setup/bundles.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,13 @@ adding a ``setDefined()`` method. The recommended check in this case would be::
189189
// code for the new OptionsResolver API
190190
}
191191

192+
.. tip::
193+
194+
There is one case when you actually can rely on the
195+
``Symfony\Component\HttpKernel\Kernel::VERSION_ID`` constant: when trying
196+
to detect the version of the ``symfony/http-kernel`` component, because it
197+
is the component where this constant is defined.
198+
192199
.. _`symfony/phpunit-bridge package`: https://github.com/symfony/phpunit-bridge
193200
.. _`Official Symfony Guide to Upgrade from 2.x to 3.0`: https://github.com/symfony/symfony/blob/2.8/UPGRADE-3.0.md
194201
.. _`SensioLabs DeprecationDetector`: https://github.com/sensiolabs-de/deprecation-detector

0 commit comments

Comments
 (0)