index of
/
home
/
thefkyzp
/
www
/
wp-content
/
plugins
/
fluentform
/
app
/
Modules
/
Form
/
Settings
/
Validator
/
File: /home/thefkyzp/www/wp-content/plugins/fluentform/app/Modules/Form/Settings/Validator/Validator.php
<?php namespace FluentForm\App\Modules\Form\Settings\Validator; class Validator { /** * Centralized validator for all the settings data. * * @param $key * @param array $data */ public static function validate($key, $data = []) { $key = ucwords($key); $class = '\FluentForm\App\Modules\Form\Settings\Validator\\' . $key; if (class_exists($class)) { /** * Validator class * * @var $class Confirmations|MailChimps|Notifications|Pdfs */ $class::validate($data); } } }