/**
  * @param string $databaseName
  */
 public function __construct($databaseName)
 {
     $this->entries = new MapOf(function () use($databaseName) {
         return new SmsModel($databaseName);
     });
     parent::__construct(SmsMongoMapper::connect($databaseName), array());
 }
 public static function remove($databaseName, $id)
 {
     SmsMongoMapper::connect($databaseName)->remove($id);
 }