phpmock\environment\MockEnvironment::__construct PHP Method

__construct() public method

Sets the mocks for this environment.
public __construct ( array $mocks = [] )
$mocks array The mocks for this environment.
    public function __construct(array $mocks = [])
    {
        $this->mocks = $mocks;
    }