/** * Returns the rules to validate the config against * * @return array */ protected function getConfigValidationRules() { return array_merge(parent::getConfigValidationRules(), ['fingerprint' => 'string', 'path' => 'string', 'local_path' => 'string', 'pattern' => 'string']); }
/** * Returns the rules to validate the config against * * @return array */ protected function getConfigValidationRules() { return array_merge(parent::getConfigValidationRules(), ['http_method' => 'in:DELETE,GET,PATCH,POST,PUT,OPTIONS']); }