src/League/Monga/Query/Builder.php
public function setOptions(array $options)
    {
        foreach ($options as $option => $value) {
            if (property_exists($this, $option)) {
                $this->{$option} = $value;
            }
        }

        return $this;
    }
public function setOptions(array $options)
    {
        foreach ($options as $option => $value) {
            if (property_exists($this, $option)) {
                $this->{$option} = $value;
            }
        }

        return $this;
    }
public function setOptions ( array $ options ) { foreach ( $ options as $ option => $ value ) { if ( property_exists ( $ this , $ option ) ) { $ this -> { $ option } = $ value ; } } return $ this ; }
Inject query options

@param array $options query options

@return object $this
Inject query options