Метод | Описание | |
---|---|---|
__construct ( array $mocks = [] ) | Sets the mocks for this environment. | |
addMock ( |
Adds a mock to this environment. | |
define ( ) | Define all mocks in this environment. | |
disable ( ) | Disable all mocks in this environment. | |
enable ( ) | Enable all mocks in this environment. |
public __construct ( array $mocks = [] ) | ||
$mocks | array | The mocks for this environment. |
public addMock ( |
||
$mock | Mock. |