public function where($column, $operator, $value = null)
    {
        if (count($this->wheres) > 0) {
            $this->andWhere($column, $operator, $value);
        }

        $this->wheres[] = new Where($column, $operator, $value);

        return $this;
    }
public function where($column, $operator, $value = null)
    {
        if (count($this->wheres) > 0) {
            $this->andWhere($column, $operator, $value);
        }

        $this->wheres[] = new Where($column, $operator, $value);

        return $this;
    }
public function where ( $ column , $ operator , $ value = null ) { if ( count ( $ this -> wheres ) > 0 ) { $ this -> andWhere ( $ column , $ operator , $ value ) ; } $ this -> wheres [ ] = new Where ( $ column , $ operator , $ value ) ; return $ this ; }
Adds a where expression to the current query.

@param string $column
@param string $operator
@param mixed  $value

@return $this
Adds a where expression to the current query .