original_string: public function validationRules(ModelInformationInterface $modelInformation = null, $create)
      {
          if ( ! ($field = $this->formFieldData)) {
              return false;
          }
  
          return $this->getStrategySpecificRules($field);
      }
code: public function validationRules(ModelInformationInterface $modelInformation = null, $create)
      {
          if ( ! ($field = $this->formFieldData)) {
              return false;
          }
  
          return $this->getStrategySpecificRules($field);
      }
code_tokens: public function validationRules ( ModelInformationInterface $ modelInformation = null , $ create ) { if ( ! ( $ field = $ this -> formFieldData ) ) { return false ; } return $ this -> getStrategySpecificRules ( $ field ) ; }
docstring: Returns validation rules to use for submitted form data for this strategy.
  
  If the return array is associative, rules are expected nested per key,
  otherwise the rules will be added to the top level key.
  
  @param ModelInformationInterface|ModelInformation|null $modelInformation
  @param bool                                            $create
  @return array|false false if no validation should be performed.
docstring_tokens: Returns validation rules to use for submitted form data for this strategy .