Documentation

RemoveBuiltinMethodsThatAreFinalPass
in package

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

Table of Contents

$methods  : mixed
apply()  : mixed

Properties

Methods

Search results