original_string: public static function set($enabled, $params)
      {
          $docs = self::documentations();
          $content = $docs['enabled'].self::enbaledFormat($enabled);
          $content .= $docs['kernel'].self::arrayFormat($params['kernel'], 'kernel');
          $content .= $docs['exceptions'].self::arrayFormat($params['exceptions'], 'exceptions');
          $content .= $docs['controllers'].self::arrayFormat($params['controllers'], 'controllers');
          $content .= $docs['models'].self::arrayFormat($params['models'], 'models');
          $content .= $docs['mailables'].self::arrayFormat($params['mailables'], 'mailables');
          if (array_has($params, 'querying')) {
              $content .= $docs['querying'].self::arrayFormat($params['querying'], 'querying');
          }
  
          $content = self::fileFormat($content);
  
          return self::setFile($content);
      }
code: public static function set($enabled, $params)
      {
          $docs = self::documentations();
          $content = $docs['enabled'].self::enbaledFormat($enabled);
          $content .= $docs['kernel'].self::arrayFormat($params['kernel'], 'kernel');
          $content .= $docs['exceptions'].self::arrayFormat($params['exceptions'], 'exceptions');
          $content .= $docs['controllers'].self::arrayFormat($params['controllers'], 'controllers');
          $content .= $docs['models'].self::arrayFormat($params['models'], 'models');
          $content .= $docs['mailables'].self::arrayFormat($params['mailables'], 'mailables');
          if (array_has($params, 'querying')) {
              $content .= $docs['querying'].self::arrayFormat($params['querying'], 'querying');
          }
  
          $content = self::fileFormat($content);
  
          return self::setFile($content);
      }
code_tokens: public static function set ( $ enabled , $ params ) { $ docs = self :: documentations ( ) ; $ content = $ docs [ 'enabled' ] . self :: enbaledFormat ( $ enabled ) ; $ content .= $ docs [ 'kernel' ] . self :: arrayFormat ( $ params [ 'kernel' ] , 'kernel' ) ; $ content .= $ docs [ 'exceptions' ] . self :: arrayFormat ( $ params [ 'exceptions' ] , 'exceptions' ) ; $ content .= $ docs [ 'controllers' ] . self :: arrayFormat ( $ params [ 'controllers' ] , 'controllers' ) ; $ content .= $ docs [ 'models' ] . self :: arrayFormat ( $ params [ 'models' ] , 'models' ) ; $ content .= $ docs [ 'mailables' ] . self :: arrayFormat ( $ params [ 'mailables' ] , 'mailables' ) ; if ( array_has ( $ params , 'querying' ) ) { $ content .= $ docs [ 'querying' ] . self :: arrayFormat ( $ params [ 'querying' ] , 'querying' ) ; } $ content = self :: fileFormat ( $ content ) ; return self :: setFile ( $ content ) ; }
docstring: Set the config params.
  
  @param bool  $enabled
  @param array $params
  
  @return bool
docstring_tokens: Set the config params .