-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
[FrameworkBundle][HttpKernel] Introduce $buildDir argument to WarmableInterface::warmup to warm read-only artefacts in build_dir
#19041
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
reference/dic_tags.rst
Outdated
| If you don't need to preload anything, return an empty array. | ||
| If you don't need to preload anything, return an empty array. If read-only | ||
| artefacts need to be created, you can store them in a different directory | ||
| with the ``buildDir`` argument of the ``warmUp()`` method. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| with the ``buildDir`` argument of the ``warmUp()`` method. | |
| with the ``$buildDir`` argument of the ``warmUp()`` method. |
Not sure if we should use argument or parameter here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's use parameter everywhere 🙂
reference/dic_tags.rst
Outdated
|
|
||
| .. versionadded:: 6.4 | ||
|
|
||
| The ``buildDir`` argument of the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| The ``buildDir`` argument of the | |
| The ``$buildDir`` parameter of the |
OskarStark
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A function signature contains parameters and is called with arguments
…ableInterface::warmup` to warm read-only artefacts in `build_dir`
efdd2de to
2026c73
Compare
|
Good rule of thumb, I always get the two mixed up 😅 |
|
Thank you Alexandre. |
|
Thank you @alexandre-daubois ! It was on my todo-list for today, but you beat me to it 😅 |
|
Oops, my bad! I'll ask you next time so you can take the time to do it 🙂 |
Fix #19034