src/Service/Search.php
public function setConjunction(string $conjunction = self::DEFAULT_CONJUNCTION) : void
    {
        if (! in_array($conjunction, self::CONJUNCTIONS)) {
            throw new \RuntimeException(sprintf('Invalid conjunction provided: %s', $conjunction));
        }

        $this->conjunction = $conjunction;
    }
public function setConjunction(string $conjunction = self::DEFAULT_CONJUNCTION) : void
    {
        if (! in_array($conjunction, self::CONJUNCTIONS)) {
            throw new \RuntimeException(sprintf('Invalid conjunction provided: %s', $conjunction));
        }

        $this->conjunction = $conjunction;
    }
public function setConjunction ( string $ conjunction = self :: DEFAULT_CONJUNCTION ) : void { if ( ! in_array ( $ conjunction , self :: CONJUNCTIONS ) ) { throw new \ RuntimeException ( sprintf ( 'Invalid conjunction provided: %s' , $ conjunction ) ) ; } $ this -> conjunction = $ conjunction ; }
Add conjunction to Search.

@param string $conjunction Search conjunction
@return void
@throws \RuntimeException When invalid filter class is provided
Add conjunction to Search .