popLast() public method

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