This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component/HttpKernel
Nicolas Grekas 0633308bb3 minor #36644 [FrameworkBundle][CacheWarmupCommand] Append files to preload (fancyweb)
This PR was merged into the 5.1-dev branch.

Discussion
----------

[FrameworkBundle][CacheWarmupCommand] Append files to preload

| Q             | A
| ------------- | ---
| Branch?       | master
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | -
| License       | MIT
| Doc PR        | -

Files returned by the warmUp() method must be added to the preload file.

I also added checks to avoid empty preload calls in the preload file like this:
```
$classes = [];
Preloader::preload($classes);
```

Commits
-------

a82c7ab4c0 [FrameworkBundle][CacheWarmupCommand] Append files to preload
2020-04-30 19:42:17 +02:00
..
Bundle Leverage PHP8's get_debug_type() 2020-03-16 17:46:21 +01:00
CacheClearer Merge branch '4.4' into 5.0 2020-03-16 13:10:54 +01:00
CacheWarmer [HttpKernel] allow cache warmers to add to the list of preloaded classes and files 2020-04-04 11:52:45 +02:00
Config [HttpKernel][FileLocator] Fix deprecation message 2020-01-08 19:38:10 +01:00
Controller Merge branch '5.0' 2020-04-12 18:48:26 +02:00
ControllerMetadata Merge branch '3.4' into 4.4 2020-03-16 09:56:54 +01:00
DataCollector Merge branch '5.0' 2020-04-01 08:33:39 +02:00
Debug Merge branch '4.4' 2019-10-26 21:52:39 +02:00
DependencyInjection Merge branch '5.0' 2020-04-13 12:14:44 +02:00
Event [HttpKernel] Fix method name in doc comments 2020-02-12 22:34:24 +08:00
EventListener Merge branch '5.0' 2020-04-06 12:46:53 +02:00
Exception [FrameworkBundle][HttpFoundation] Add _stateless 2020-02-26 11:16:11 +01:00
Fragment Merge branch '4.4' into 5.0 2020-03-16 13:10:54 +01:00
HttpCache Merge branch '4.4' into 5.0 2020-03-16 13:10:54 +01:00
Log Merge branch '4.4' into 5.0 2020-04-12 11:48:36 +02:00
Profiler Fix profiler nullable string type 2020-03-21 21:29:52 +01:00
Resources Fix web debug toolbar z-index property 2019-10-25 20:47:58 -04:00
Tests Use ExpectDeprecationTrait 2020-04-16 18:52:30 +02:00
.gitattributes add missing gitattributes for phpunit-bridge 2020-03-27 17:54:36 +01:00
.gitignore
CHANGELOG.md [HttpKernel] allow cache warmers to add to the list of preloaded classes and files 2020-04-04 11:52:45 +02:00
composer.json Merge branch '5.0' 2020-04-06 12:46:53 +02:00
HttpClientKernel.php Merge branch '4.4' into 5.0 2020-03-18 09:00:37 +01:00
HttpKernel.php Merge branch '4.4' into 5.0 2020-03-18 09:00:37 +01:00
HttpKernelBrowser.php Merge branch '4.4' 2019-09-10 19:00:13 +02:00
HttpKernelInterface.php [Http-Kernel][5.0] Add type-hints 2019-08-08 17:48:38 +02:00
Kernel.php minor #36644 [FrameworkBundle][CacheWarmupCommand] Append files to preload (fancyweb) 2020-04-30 19:42:17 +02:00
KernelEvents.php Sort the KernelEvents constants to match the lifecycle of the framework 2020-01-30 14:39:30 +01:00
KernelInterface.php Merge branch '4.4' 2019-09-27 16:25:24 +02:00
LICENSE Update year in license files 2020-01-01 12:03:25 +01:00
phpunit.xml.dist Bump phpunit XSD version to 5.2 2018-11-11 12:18:13 +01:00
README.md Update links to documentation 2020-01-04 13:05:51 +01:00
RebootableInterface.php [Http-Kernel][5.0] Add type-hints 2019-08-08 17:48:38 +02:00
TerminableInterface.php [DI] minor docblock fixes 2017-10-24 13:40:19 +02:00
UriSigner.php Simplify UriSigner when working with HttpFoundation's Request 2020-01-10 10:28:57 +01:00

HttpKernel Component

The HttpKernel component provides a structured process for converting a Request into a Response by making use of the EventDispatcher component. It's flexible enough to create a full-stack framework (Symfony), a micro-framework (Silex) or an advanced CMS system (Drupal).

Resources