-
Notifications
You must be signed in to change notification settings - Fork 379
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
check if runtimeconfig path is stored #498
Conversation
👍 could you add a test |
we have to places where we generate runtime path, here in CacheManager and in the controller: https://github.com/liip/LiipImagineBundle/blob/master/Controller/ImagineController.php#L125 What about a methond in the CacheManager which can generate such a path? The method has to be reused in getBrowserPath and in the controller. |
Should be all good now @makasim. Let me know if there are any issues. |
* @param string $path | ||
* @param array $runtimeConfig | ||
*/ | ||
public function getRuntimeConfigPath($path, array $runtimeConfig) |
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.
getRuntimePath would be better IMO
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.
Updated
check if runtimeconfig path is stored
Good work - 🍺 |
tagged it as 1.0.5 |
Thanks 👍 |
PR in favour of #497
If a runtime config is specified, the path will be modified to match the hashed path.