class DocumentNotFoundEventArgs extends LifecycleEventArgs (View source)

Provides event arguments for the documentNotFound event.

Methods

getDocument()

No description

getDocumentManager()

No description

__construct(object $document, DocumentManager $dm, $identifier)

No description

mixed
getIdentifier()

Retrieve associated identifier.

isExceptionDisabled()

Indicates whether the proxy initialization exception is disabled.

disableException(bool $disableException = true)

Disable the throwing of an exception

Details

getDocument()

getDocumentManager()

__construct(object $document, DocumentManager $dm, $identifier)

Parameters

object $document
DocumentManager $dm
$identifier

mixed getIdentifier()

Retrieve associated identifier.

Return Value

mixed

isExceptionDisabled()

Indicates whether the proxy initialization exception is disabled.

disableException(bool $disableException = true)

Disable the throwing of an exception

This method indicates to the proxy initializer that the missing document has been handled and no exception should be thrown. This can't be reset.

Parameters

bool $disableException