public function initialize(array $config)
    {
        $config += $this->_defaultConfig;
        $this->config('fields', $this->_resolveFields($config['fields']));
        $this->config('strategy', $this->_resolveStrategy($config['strategy']));
    }
public function initialize(array $config)
    {
        $config += $this->_defaultConfig;
        $this->config('fields', $this->_resolveFields($config['fields']));
        $this->config('strategy', $this->_resolveStrategy($config['strategy']));
    }
public function initialize ( array $ config ) { $ config += $ this -> _defaultConfig ; $ this -> config ( 'fields' , $ this -> _resolveFields ( $ config [ 'fields' ] ) ) ; $ this -> config ( 'strategy' , $ this -> _resolveStrategy ( $ config [ 'strategy' ] ) ) ; }
Initialize behavior configuration.

@param array $config Configuration passed to the behavior
@throws \Cake\Core\Exception\Exception
@return void
Initialize behavior configuration .