Lines Matching defs:config
66 * @param array|string $config OPTIONAL Additional config or DSN of options
71 public function __construct($config = [], ?callable $callback = null, ?LoggerInterface $logger = null)
73 if (\is_string($config)) {
74 $configuration = ClientConfiguration::fromDsn($config);
75 } elseif (\is_array($config)) {
76 $configuration = ClientConfiguration::fromArray($config);
107 * Sets specific config values (updates and keeps default values).
109 * @param array $config Params
111 public function setConfig(array $config): self
113 foreach ($config as $key => $value) {
121 * Returns a specific config key or the whole config array if not set.
133 * Sets / overwrites a specific config value.
143 * @param array|string $keys config key or path of config keys
697 * Creates a Connection params array from a Client or server config array.
699 protected function _prepareConnectionParams(array $config): array
702 $params['config'] = [];
703 foreach ($config as $key => $value) {
705 $params['config'][$key] = $value;