$mocks
$mocks : array<mixed,\duncan3dc\Mock\MockedFunction>
$mocks : array<mixed,\duncan3dc\Mock\MockedFunction>
mock(string $function) : \duncan3dc\Mock\MockedFunction
Set up a core function to be mocked.
string | $function | The name of the function to be mocked |
call(string $function, \duncan3dc\Mock\Arguments $arguments) : mixed
Call the mocked version of a function.
string | $function | The name of the function to be called |
\duncan3dc\Mock\Arguments | $arguments | The arguments to be passed to the function |