src/Sulu/Component/Webspace/Manager/WebspaceManager.php
public function setOptions($options)
    {
        $this->options = [
            'config_dir' => null,
            'cache_dir' => null,
            'debug' => false,
            'cache_class' => 'WebspaceCollectionCache',
            'base_class' => 'WebspaceCollection',
        ];

        // overwrite the default values with the given options
        $this->options = array_merge($this->options, $options);
    }
public function setOptions($options)
    {
        $this->options = [
            'config_dir' => null,
            'cache_dir' => null,
            'debug' => false,
            'cache_class' => 'WebspaceCollectionCache',
            'base_class' => 'WebspaceCollection',
        ];

        // overwrite the default values with the given options
        $this->options = array_merge($this->options, $options);
    }
public function setOptions ( $ options ) { $ this -> options = [ 'config_dir' => null , 'cache_dir' => null , 'debug' => false , 'cache_class' => 'WebspaceCollectionCache' , 'base_class' => 'WebspaceCollection' , ] ; // overwrite the default values with the given options $ this -> options = array_merge ( $ this -> options , $ options ) ; }
Sets the options for the manager.

@param $options
Sets the options for the manager .