public function setData(array $data)
    {
        $this->data = $this->parseData($data);

        $this->setRules($this->initialRules);

        return $this;
    }
public function setData(array $data)
    {
        $this->data = $this->parseData($data);

        $this->setRules($this->initialRules);

        return $this;
    }
public function setData ( array $ data ) { $ this -> data = $ this -> parseData ( $ data ) ; $ this -> setRules ( $ this -> initialRules ) ; return $ this ; }
Set the data under validation.

@param  array  $data
@return $this
Set the data under validation .