minute() public method

The argument can be any expression as long as it resolves to a date.
See also: http://docs.mongodb.org/manual/reference/operator/aggregation/minute/
public minute ( mixed | self $expression )
$expression mixed | self
Esempio n. 1
0
 /**
  * Returns the minute portion of a date as a number between 0 and 59.
  *
  * The argument can be any expression as long as it resolves to a date.
  *
  * @see http://docs.mongodb.org/manual/reference/operator/aggregation/minute/
  * @see Expr::minute
  * @param mixed|Expr $expression
  * @return self
  */
 public function minute($expression)
 {
     $this->expr->minute($expression);
     return $this;
 }