protected function andWith(array $with, $mode)
    {
        return (
            implode(
                $mode === self::MODE_OR ? '|' : ',',
                array_map([$this, 'normalize'], $with)
            )
        );
    }
protected function andWith(array $with, $mode)
    {
        return (
            implode(
                $mode === self::MODE_OR ? '|' : ',',
                array_map([$this, 'normalize'], $with)
            )
        );
    }
protected function andWith ( array $ with , $ mode ) { return ( implode ( $ mode === self :: MODE_OR ? '|' : ',' , array_map ( [ $ this , 'normalize' ] , $ with ) ) ) ; }
Creates an and query to combine an AND or an OR expression.

@param  array  $with
@param  int    $mode
@return string
Creates an and query to combine an AND or an OR expression .