public function setValues(array $values, string $group = null): self
    {
        foreach ($values as $key => $value) {
            $this->setValue($key, $value, $group);
        }

        return $this;
    }
public function setValues(array $values, string $group = null): self
    {
        foreach ($values as $key => $value) {
            $this->setValue($key, $value, $group);
        }

        return $this;
    }
public function setValues ( array $ values , string $ group = null ) : self { foreach ( $ values as $ key => $ value ) { $ this -> setValue ( $ key , $ value , $ group ) ; } return $ this ; }
Sets values of validated data.

@param array       $values
@param string|null $group

@return self
Sets values of validated data .