protected function validateUrl($attribute, $value) { return filter_var($value, FILTER_VALIDATE_URL) !== false; }