Exemplo n.º 1
0
 /**
  * {@inheritdoc}
  */
 public function maxTimeMS($ms)
 {
     // Need to use method_exists - adding to CursorInterface is not allowed
     // due to SemVer restrictions
     if (method_exists($this->cursor, 'maxTimeMS')) {
         $this->cursor->maxTimeMS($ms);
     }
     return $this;
 }
Exemplo n.º 2
0
 /**
  * {@inheritdoc}
  */
 public function maxTimeMS($ms)
 {
     $this->cursor->maxTimeMS($ms);
     return $this;
 }