protected function setWhere(string $where, string $type = null): void
    {
        if (null !== $type) {
            $where = $type . ' ' . $where;
        }

        $this->where[] = $where;
    }
protected function setWhere(string $where, string $type = null): void
    {
        if (null !== $type) {
            $where = $type . ' ' . $where;
        }

        $this->where[] = $where;
    }
protected function setWhere ( string $ where , string $ type = null ) : void { if ( null !== $ type ) { $ where = $ type . ' ' . $ where ; } $ this -> where [ ] = $ where ; }
Set a where condition.

@param string      $where
@param string|null $type

@return void
Set a where condition .