src/Constraints/Builder.php
public function where($column, $operator = null, $value = null)
    {
        if ($column instanceof Closure) {
            return $this->whereNested('and', $column);
        }

        $constraint = call_user_func_array(
            [Constraint::class, 'where'],
            func_get_args()
        );

        return $this->addConstraint($constraint);
    }
public function where($column, $operator = null, $value = null)
    {
        if ($column instanceof Closure) {
            return $this->whereNested('and', $column);
        }

        $constraint = call_user_func_array(
            [Constraint::class, 'where'],
            func_get_args()
        );

        return $this->addConstraint($constraint);
    }
public function where ( $ column , $ operator = null , $ value = null ) { if ( $ column instanceof Closure ) { return $ this -> whereNested ( 'and' , $ column ) ; } $ constraint = call_user_func_array ( [ Constraint :: class , 'where' ] , func_get_args ( ) ) ; return $ this -> addConstraint ( $ constraint ) ; }
Add a "where" constraint.

@param  string|\Closure  $column
@param  mixed  $operator
@param  mixed  $value
@return $this
Add a where constraint .