public function addFlags(array $flags): void
    {
        if (!empty($flags['distinct'])) {
            $this->statement .= ' DISTINCT';
        }
        if (!empty($flags['count'])) {
            $this->isCount = true;
        }
    }
public function addFlags(array $flags): void
    {
        if (!empty($flags['distinct'])) {
            $this->statement .= ' DISTINCT';
        }
        if (!empty($flags['count'])) {
            $this->isCount = true;
        }
    }
public function addFlags ( array $ flags ) : void { if ( ! empty ( $ flags [ 'distinct' ] ) ) { $ this -> statement .= ' DISTINCT' ; } if ( ! empty ( $ flags [ 'count' ] ) ) { $ this -> isCount = true ; } }
Adds possible flags to SQL statement.

@param array $flags
@return void
Adds possible flags to SQL statement .