original_string: public function config(array $config = null)
      {
          deprecationWarning(
              'EagerLoadable::config() is deprecated. ' .
              'Use setConfig()/getConfig() instead.'
          );
          if ($config !== null) {
              $this->setConfig($config);
          }
  
          return $this->getConfig();
      }
code: public function config(array $config = null)
      {
          deprecationWarning(
              'EagerLoadable::config() is deprecated. ' .
              'Use setConfig()/getConfig() instead.'
          );
          if ($config !== null) {
              $this->setConfig($config);
          }
  
          return $this->getConfig();
      }
code_tokens: public function config ( array $ config = null ) { deprecationWarning ( 'EagerLoadable::config() is deprecated. ' . 'Use setConfig()/getConfig() instead.' ) ; if ( $ config !== null ) { $ this -> setConfig ( $ config ) ; } return $ this -> getConfig ( ) ; }
docstring: Sets the list of options to pass to the association object for loading
  the records.
  
  If called with no arguments it returns the current
  value.
  
  @deprecated 3.4.0 Use setConfig()/getConfig() instead.
  @param array|null $config The value to set.
  @return array
docstring_tokens: Sets the list of options to pass to the association object for loading the records .