Created
December 3, 2014 08:30
-
-
Save clslrns/c64d7c1c3bd5bbc6b012 to your computer and use it in GitHub Desktop.
MongoCollectionInterface
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
interface MongoCollectionInterface | |
{ | |
public function insert($a, array $options = []); | |
public function update($old_array_of_fields_OR_object, $new_array_of_fields_OR_object, array $options = []); | |
public function remove($array_of_fields_OR_object = [], array $options = []); | |
public function find($query = [], $fields = []); | |
public function findOne($query = [], $fields = [], array $options = []); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment