Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#108·prophecy

Cannot mock methods begining with underscore

Author: dantleechCreated Jun 16, 2014Updated May 16, 2024
Labelsquestion

See: https://github.com/phpspec/prophecy/blob/master/src/Prophecy/Doubler/Generator/ClassMirror.php#L106

What is the reason for this?

Source: phpspec/prophecy

View original on GitHubView discussion on GitHub