Illuminate\Database\Query\Builder::addDateBasedWhere PHP Method

addDateBasedWhere() protected method

Add a date based (year, month, day, time) statement to the query.
protected addDateBasedWhere ( string $type, string $column, string $operator, integer $value, string $boolean = 'and' )
$type string
$column string
$operator string
$value integer
$boolean string
    protected function addDateBasedWhere($type, $column, $operator, $value, $boolean = 'and')
    {
        $this->wheres[] = compact('column', 'type', 'boolean', 'operator', 'value');
        $this->addBinding($value, 'where');
        return $this;
    }