public function validateHashesTo($attribute, $value, $parameters) {
        $this->requireParameterCount(1, $parameters, 'hashes_to');

        return $this->hasher->check($value, $parameters[0]);
    }
public function validateHashesTo($attribute, $value, $parameters) {
        $this->requireParameterCount(1, $parameters, 'hashes_to');

        return $this->hasher->check($value, $parameters[0]);
    }
public function validateHashesTo ( $ attribute , $ value , $ parameters ) { $ this -> requireParameterCount ( 1 , $ parameters , 'hashes_to' ) ; return $ this -> hasher -> check ( $ value , $ parameters [ 0 ] ) ; }
Check the field is the given value.


@param  string  $attribute
@param  mixed   $value
@param  array   $parameters
@return bool
Check the field is the given value .