QueryPath\DOMQuery::getOptions PHP Method

getOptions() public method

This returns an associative array of all of the options as set for the current DOMQuery object. This includes default options, options directly passed in via {@link qp()} or the constructor, an options set in the QueryPath::Options object. The order of merging options is this: - Options passed in using qp() are highest priority, and will override other options. - Options set with QueryPath::Options will override default options, but can be overridden by options passed into qp(). - Default options will be used when no overrides are present. This function will return the options currently used, with the above option overriding having been calculated already.
See also: qp()
Since: 2.0
public getOptions ( ) : array
return array An associative array of options, calculated from defaults and overridden options.
    public function getOptions()
    {
        return $this->options;
    }