original_string: public function getValidationRules($formName = false)
      {
          if (is_bool($formName))
              $formName = $this->currentFormName;
  
          if (array_key_exists($formName, $this->validationRules)) {
              return $this->validationRules[$formName];
          }
  
          return [];
      }
code: public function getValidationRules($formName = false)
      {
          if (is_bool($formName))
              $formName = $this->currentFormName;
  
          if (array_key_exists($formName, $this->validationRules)) {
              return $this->validationRules[$formName];
          }
  
          return [];
      }
code_tokens: public function getValidationRules ( $ formName = false ) { if ( is_bool ( $ formName ) ) $ formName = $ this -> currentFormName ; if ( array_key_exists ( $ formName , $ this -> validationRules ) ) { return $ this -> validationRules [ $ formName ] ; } return [ ] ; }
docstring: Get all given validation rules.
  
  @param string|bool $formName
  @return array Laravel validation rules
docstring_tokens: Get all given validation rules .