Esempio n. 1
0
 public function remove(CollegeEntity $college)
 {
     $id = $college->getId();
     return !empty($id) ? $this->collection->remove(array('_id' => new MongoId($id))) : null;
 }