You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you run rm -rf cache && php main.php this is the output as expected: foo bar. If you then uncomment the baz method and run php main.php again, the output is still foo bar, but if you run rm -rf cache && php main.php again, you'll get the correct foo bar baz output.
May this be related with #61? If that's the case, the contents hash or filemtime should be used as key for invalidating, probably.
The text was updated successfully, but these errors were encountered:
If you add a (decorated) method on an aspect which is already cached, the cache is not invalidated and the method is not run.
Steps to reproduce:
src/Bar.php
src/Aop/MyAspect.php
src/Aop/Kernel.php
main.php
If you run
rm -rf cache && php main.php
this is the output as expected:foo bar
. If you then uncomment thebaz
method and runphp main.php
again, the output is stillfoo bar
, but if you runrm -rf cache && php main.php
again, you'll get the correctfoo bar baz
output.May this be related with #61? If that's the case, the contents hash or filemtime should be used as key for invalidating, probably.
The text was updated successfully, but these errors were encountered: