. * * @package LibreNMS * @link http://librenms.org * @copyright 2017 Tony Murray * @author Tony Murray */ namespace LibreNMS\Interfaces; use LibreNMS\Validator; interface ValidationGroup { /** * Validate this module. * To return ValidationResults, call ok, warn, fail, or result methods on the $validator * * @param Validator $validator */ public function validate(Validator $validator); /** * Returns if this test should be run by default or not. * * @return bool */ public function isDefault(); }