@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use As3\Modlr\Exception\MetadataException; |
| 6 | 6 | use As3\Modlr\Metadata\EntityMetadata; |
| 7 | -use As3\Modlr\Metadata\Interfaces\StorageLayerInterface; |
|
| 8 | 7 | use As3\Modlr\Metadata\Interfaces\StorageMetadataFactoryInterface; |
| 9 | 8 | use As3\Modlr\Util\EntityUtility; |
| 10 | 9 | |
@@ -9,7 +9,6 @@ |
||
| 9 | 9 | use As3\Modlr\Persister\PersisterException; |
| 10 | 10 | use As3\Modlr\Persister\PersisterInterface; |
| 11 | 11 | use As3\Modlr\Store\Store; |
| 12 | -use Doctrine\MongoDB\Connection; |
|
| 13 | 12 | |
| 14 | 13 | /** |
| 15 | 14 | * Persists and retrieves models to/from a MongoDB database. |
@@ -57,7 +57,6 @@ discard block |
||
| 57 | 57 | * |
| 58 | 58 | * @param EntityMetadata $metadata |
| 59 | 59 | * @param Store $store |
| 60 | - * @param array $toInsert |
|
| 61 | 60 | * @return array|bool |
| 62 | 61 | */ |
| 63 | 62 | public function executeDelete(EntityMetadata $metadata, Store $store, array $criteria) |
@@ -148,8 +147,8 @@ discard block |
||
| 148 | 147 | /** |
| 149 | 148 | * Gets standard database retrieval criteria for an inverse relationship. |
| 150 | 149 | * |
| 151 | - * @param EntityMetadata $metadata The entity to retrieve database records for. |
|
| 152 | 150 | * @param string|array $identifiers The IDs to query. |
| 151 | + * @param string $inverseField |
|
| 153 | 152 | * @return array |
| 154 | 153 | */ |
| 155 | 154 | public function getInverseCriteria(EntityMetadata $owner, EntityMetadata $related, $identifiers, $inverseField) |