src/Sanitizer.php
protected function sanitizeAttribute($attribute, $value)
    {
        foreach ($this->rules->get($attribute) as $rule) {
            $value = $this->applyFilter($rule['name'], $value, $rule['options']);
        }

        return $value;
    }
protected function sanitizeAttribute($attribute, $value)
    {
        foreach ($this->rules->get($attribute) as $rule) {
            $value = $this->applyFilter($rule['name'], $value, $rule['options']);
        }

        return $value;
    }
protected function sanitizeAttribute ( $ attribute , $ value ) { foreach ( $ this -> rules -> get ( $ attribute ) as $ rule ) { $ value = $ this -> applyFilter ( $ rule [ 'name' ] , $ value , $ rule [ 'options' ] ) ; } return $ value ; }
Sanitize the given attribute

@param  string  $attribute
@param  mixed   $value

@return mixed
Sanitize the given attribute