src/Entities/Rules.php
public function set(array $rules)
    {
        $this->items = array_merge(
            $this->items,
            $this->parseRules($rules)
        );

        return $this;
    }
public function set(array $rules)
    {
        $this->items = array_merge(
            $this->items,
            $this->parseRules($rules)
        );

        return $this;
    }
public function set ( array $ rules ) { $ this -> items = array_merge ( $ this -> items , $ this -> parseRules ( $ rules ) ) ; return $ this ; }
Set multiple rules.

@param  array  $rules

@return $this
Set multiple rules .