<?phpnamespaceDoctrine\DBAL\Exception;useDoctrine\DBAL\DBALException;/** * Exception to be thrown when invalid arguments are passed to any DBAL API */classInvalidArgumentExceptionextendsDBALException{/** * @return self */publicstaticfunctionfromEmptyCriteria(){returnnewself('Empty criteria was used, expected non-empty criteria');}}