MockTrait
Table of Contents
Properties
- $mock : bool
- The mock flag to test the model.
Methods
- initializeMock() : $this
- Initialize the `mock` property.
Properties
$mock
The mock flag to test the model.
public
bool
$mock
= null
Methods
initializeMock()
Initialize the `mock` property.
public
initializeMock([bool|array<string|int, mixed> $init = [] ]) : $this
Parameters
- $init : bool|array<string|int, mixed> = []