Esempio n. 1
0
 /**
  * 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']);
 }
Esempio n. 2
0
 /**
  * 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']);
 }