| 1 | <?php |
||
| 19 | class OnClearEventArgs extends BaseOnClearEventArgs |
||
| 20 | { |
||
| 21 | public function __construct($objectManager, $entityClass = null) |
||
| 28 | |||
| 29 | public function getDocumentManager() : DocumentManager |
||
| 35 | |||
| 36 | public function getDocumentClass() : ?string |
||
| 40 | |||
| 41 | /** |
||
| 42 | * Returns whether this event clears all documents. |
||
| 43 | */ |
||
| 44 | public function clearsAllDocuments() : bool |
||
| 48 | } |
||
| 49 |
If you suppress an error, we recommend checking for the error condition explicitly: