src/League/Monga/Query/Update.php
public function push($field, $value, $all = false)
    {
        return $this->update($all ? '$pushAll' : '$push', $field, $value);
    }
public function push($field, $value, $all = false)
    {
        return $this->update($all ? '$pushAll' : '$push', $field, $value);
    }
public function push ( $ field , $ value , $ all = false ) { return $ this -> update ( $ all ? '$pushAll' : '$push' , $ field , $ value ) ; }
Pushes a value onto a field array

@param string $field field name
@param mixed  $value value to append to the array
@param bool   $all   whether to remove all (must be array)

@return object $this
Pushes a value onto a field array