extends |
UnexpectedResultException |
|---|
Exception thrown when an ORM query unexpectedly returns more than one result.
| Methods | ||
|---|---|---|
public
|
__construct(?string $message = null)
|
# |
| Methods inherited from Exception |
|---|
__wakeup(), getMessage(), getCode(), getFile(), getLine(), getTrace(), getPrevious(), getTraceAsString(), __toString() |
| Constants | ||
|---|---|---|
public
|
DEFAULT_MESSAGE = 'More than one result was found for query although one row or none was expected.'
|
# |