Directory stored in pimple container #6525
Answered
by
orklah
ssnepenthe
asked this question in
Q&A
-
Given the following: $container = new \Pimple\Container(['dir' => __DIR__]);
require_once $container['dir'] . '/some-file.php'; Psalm is reporting:
Is it possible for me to help Psalm understand |
Beta Was this translation helpful? Give feedback.
Answered by
orklah
Sep 23, 2021
Replies: 1 comment 1 reply
-
I think this would require some plugin that would store the values from the constructor argument and provide them back on each access. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ssnepenthe
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think this would require some plugin that would store the values from the constructor argument and provide them back on each access.