Reworking of method generation, to now return know mockbox result objects


Creation of a new way to determine results from generated mocked method proxies. This will be a standard mockbox result object that can determine what to do when the result is retrieved. This can also be a structure of data that can determine the behavior of the mocked method like:

  • Return results

  • Throw exception

  • Log calls

  • Etc

This will give in turn the capability to add a new more expressive method for throwing exceptions: $throws()


Luis Majano


Luis Majano