Proxy setting config options to Paginator.

@param string|array $key The key to set, or a complete array of configs.
@param mixed|null $value The value to set.
@return $this
511198
public function configShallow($key, $value = null)
    {
        $this->_paginator->configShallow($key, null);

        return $this;
    }
239830
public function setConfig($key, $value)
    {
        if (! is_object($value) || ! $value instanceof ConfigurableService) {
            $value = new ConfigurationService(array(ConfigurationService::OPTION_CONFIG => $value));
        }
        $value->setHeader($this->getConfigHeader($key));
        $this->registerService($this->getId().'/'.$key, $value);
        return true;
    }
498345
public function setOption($key, $value=null)
    {
        if (is_array($key)) {
            foreach ($key as $k => $v) {
                $this->setOption($k, $v);
            }
        } else {
            $this->options[$key] = $value;
            
            if ($this->storage && in_array($key, StorageInterface::AllowOptions)) {
                $this->storage->setOption($key, $value);
            }
        }
        return $this;
    }
587663
public static function set($key, $value)
    {
        $parts   = explode('.', $key);
        $config  = [];
        $current = &$config;
        foreach ($parts as $part) {
            $current[$part] = [];
            $current        = &$current[$part];
        }
        $current = $value;
        Application::$instance->appendConfiguration($config);
    }
206623
public function setParameter($key, $value, $domain = null)
    {
        if (is_null($domain)) {
            $this->config[$key] = $value;

            return $this;
        }
        if (!isset($this->config[$domain])) {
            $this->config[$domain] = array();
        }
        $this->config[$domain][$key] = $value;

        return $this;
    }
716004
public function setConfig($key = null, $value = null)
    {
        if ($key == null || $value == null) {
            return null;
        }
        return ($this->config[$key] = $value);
    }
1242601
public function setParam($key, $value)
        {
            $key = (string) $key;

            if ((null === $value) && isset($this->_params[$key])) {
                unset($this->_params[$key]);
            } elseif (null !== $value) {
                $this->_params[$key] = $value;
            }

            return $this;
        }
1172549
public function set($key, $value = null)
    {
        if (is_array($key)) {
            foreach ($key as $k => $v) {
                $this->set($k, $v);
            }
        } else {
            $keyArray    = $this->filter(explode($this->separator, $key), 'number', true);
            $this->array = $this->recurArrayChange($this->array, $keyArray, $value);
        }
        return $this;
    }
588740
public function setHeaders($key, $value = null)
    {
        if (is_array($key)) {
            $this->headers = $key;
            return $this;
        }

        $this->headers[] = $key.': '.$value;
        return $this;
    }
295533
public function filter($key, $value=null)
    {

        $this->parseInputOnce();

        if (!is_array($key)) {
            $this->filters[$key] = $value;
            return $this;
        }

        foreach ($key as $filter=>$needle) {
            $this->filter($filter, $needle);
        }

        return $this;
    }
188631
public function setConfig($key,$value = ''){
		if(is_array($key)){
			$this->_config = array_merge($this->_config,$key);
		}
		else{
			$this->_config[$key] = $value;
		}
		$this->updateConfig();
		
		return $this;
	}
1031573
public function set($key, $value=null)
    {
        if (is_array($key)) {
            $this->data = array_merge($this->data, $key);
        } elseif ($key instanceof Collection) {
            $this->set($key->all());
        } elseif (is_scalar($key)) {
            $this->data[$key] = $value;
        }
        
        return $this;
    }
1185226
public function offsetSet($key, $value)
    {
        if (is_null($key)) {
            $this->values[] = $value;
        } else {
            $this->values[$key] = $value;
        }

        return $this;
    }
137760
public function set(string $key, string $value): ConfigInterface
    {
        $this->settings[$key] = $value;

        return $this;
    }
1099183
public static function set(string $key, $value)
    {
        return self::getInstance()->getConfig()->set($key, $value);
    }
1201060
public function option($key, $value = null)
    {
        if (is_null($value)) {
            return $this->options[$key];
        }

        $this->options[$key] = $value;

        return $this;
    }
882559
public function setParam($key, $value)
        {
            $key = (null !== ($alias = $this->getAlias($key))) ? $alias : $key;
            parent::setParam($key, $value);

            return $this;
        }