Class RemoveBuiltinMethodsThatAreFinalPass
The standard Mockery\Mock class includes some methods to ease mocking, such as __wakeup, however if the target has a final __wakeup method, it can't be mocked. This pass removes the builtin methods where they are final on the target
Namespace: Mockery\Generator\StringManipulation\Pass
Located at Mockery/Generator/StringManipulation/Pass/RemoveBuiltinMethodsThatAreFinalPass.php
Located at Mockery/Generator/StringManipulation/Pass/RemoveBuiltinMethodsThatAreFinalPass.php
public
|
protected
array
|
$methods
|
#
array(
'__wakeup' => '/public function __wakeup\(\)\s+\{.*?\}/sm',
)
|