Sulu\Component\Webspace\Manager\WebspaceManager::setOptions PHP Méthode

setOptions() public méthode

Sets the options for the manager.
public setOptions ( $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);
    }