public function rulesets($ruleSetFileNames)
    {
        if (!is_array($ruleSetFileNames)) {
            $ruleSetFileNames = [$ruleSetFileNames];
        }
        $this->rulesets = array_unique(array_merge($this->rulesets, $ruleSetFileNames));

        return $this;
    }
public function rulesets($ruleSetFileNames)
    {
        if (!is_array($ruleSetFileNames)) {
            $ruleSetFileNames = [$ruleSetFileNames];
        }
        $this->rulesets = array_unique(array_merge($this->rulesets, $ruleSetFileNames));

        return $this;
    }
public function rulesets ( $ ruleSetFileNames ) { if ( ! is_array ( $ ruleSetFileNames ) ) { $ ruleSetFileNames = [ $ ruleSetFileNames ] ; } $ this -> rulesets = array_unique ( array_merge ( $ this -> rulesets , $ ruleSetFileNames ) ) ; return $ this ; }
Sets the rule-sets.

@param array|string $ruleSetFileNames
Array of rule-set filenames or identifiers.

@return $this
Sets the rule - sets .