- Full name:
\MongoDB\Exception\BadMethodCallException
- Parent class:
BadMethodCallException
- This class implements:
\MongoDB\Exception\Exception
Thrown when a mutable method is invoked on an immutable object.
public static classIsImmutable(string $class): self
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$class |
string | Class name |
Thrown when accessing a result field on an unacknowledged write result.
public static unacknowledgedWriteResultAccess(string $method): self
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$method |
string | Method name |