popFirst() public method

Remove the first element from the current array field.
See also: Builder::popFirst()
See also: http://docs.mongodb.org/manual/reference/operator/pop/
public popFirst ( )
Esempio n. 1
0
 /**
  * Remove the first element from the current array field.
  *
  * @see Expr::popFirst()
  * @see http://docs.mongodb.org/manual/reference/operator/pop/
  * @return self
  */
 public function popFirst()
 {
     $this->expr->popFirst();
     return $this;
 }