src/DMS/Filter/Rules/Rule.php
private function parseOptionsArray($options, \stdClass $result)
    {
        foreach ($options as $option => $value) {
            if (! property_exists($this, $option)) {
                $result->invalidOptions[] = $option;
                continue;
            }

            //Define Option
            $this->$option = $value;
            unset($result->missingOptions[$option]);
        }
    }
private function parseOptionsArray($options, \stdClass $result)
    {
        foreach ($options as $option => $value) {
            if (! property_exists($this, $option)) {
                $result->invalidOptions[] = $option;
                continue;
            }

            //Define Option
            $this->$option = $value;
            unset($result->missingOptions[$option]);
        }
    }
private function parseOptionsArray ( $ options , \ stdClass $ result ) { foreach ( $ options as $ option => $ value ) { if ( ! property_exists ( $ this , $ option ) ) { $ result -> invalidOptions [ ] = $ option ; continue ; } //Define Option $ this -> $ option = $ value ; unset ( $ result -> missingOptions [ $ option ] ) ; } }
Parses Options in the array format

@param array $options
@param \stdClass $result
Parses Options in the array format