class HydratorException extends MongoDBException (View source)

MongoDB ODM Hydrator Exception

Methods

invalidDocumentState(string $state)

No description

documentNotMappedToCollection(string $className)

No description

unknownDocumentNamespace(string $documentNamespaceAlias)

No description

cannotPersistMappedSuperclass(string $className)

No description

invalidDocumentRepository(string $className)

No description

invalidValueForType(string $type, string|array $expected, mixed $got)

No description

shardKeyFieldCannotBeChanged(string $field, string $className)

No description

shardKeyFieldMissing(string $field, string $className)

No description

failedToEnableSharding(string $dbName, string $errorMessage)

No description

failedToEnsureDocumentSharding(string $className, string $errorMessage)

No description

commitInProgress()

No description

static 
hydratorDirectoryNotWritable()

No description

static 
hydratorDirectoryRequired()

No description

static 
hydratorNamespaceRequired()

No description

Details

static MongoDBException detachedDocumentCannotBeRemoved()

Return Value

MongoDBException

static MongoDBException invalidDocumentState(string $state)

Parameters

string $state

Return Value

MongoDBException

static MongoDBException documentNotMappedToCollection(string $className)

Parameters

string $className

Return Value

MongoDBException

static MongoDBException documentManagerClosed()

Return Value

MongoDBException

static MongoDBException unknownDocumentNamespace(string $documentNamespaceAlias)

Parameters

string $documentNamespaceAlias

Return Value

MongoDBException

static MongoDBException cannotPersistMappedSuperclass(string $className)

Parameters

string $className

Return Value

MongoDBException

static MongoDBException invalidDocumentRepository(string $className)

Parameters

string $className

Return Value

MongoDBException

static MongoDBException invalidValueForType(string $type, string|array $expected, mixed $got)

Parameters

string $type
string|array $expected
mixed $got

Return Value

MongoDBException

static MongoDBException shardKeyFieldCannotBeChanged(string $field, string $className)

Parameters

string $field
string $className

Return Value

MongoDBException

static MongoDBException shardKeyFieldMissing(string $field, string $className)

Parameters

string $field
string $className

Return Value

MongoDBException

static MongoDBException failedToEnableSharding(string $dbName, string $errorMessage)

Parameters

string $dbName
string $errorMessage

Return Value

MongoDBException

static MongoDBException failedToEnsureDocumentSharding(string $className, string $errorMessage)

Parameters

string $className
string $errorMessage

Return Value

MongoDBException

static MongoDBException commitInProgress()

Return Value

MongoDBException

static hydratorDirectoryNotWritable()

static hydratorDirectoryRequired()

static hydratorNamespaceRequired()