Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
OptionManager.php
1<?php
3
4interface OptionManager
5{
6 public function setOptions(array $options): self;
7 public function setOption(string $optionName, $optionValue): self;
8 public function getOptions(): array;
9 public function getOption(string $optionName, $defaultValue = null);
10 public function clearOptions(): self;
11 public function setStreamTimeout(int $streamTimeout): self;
12 public function getStreamTimeout(): int;
13 public function setSocketTimeout(int $socketTimeout): self;
14 public function getSocketTimeout(): int;
15
16 public function getProviderId(): string;
17}
getOption(string $optionName, $defaultValue=null)
setOption(string $optionName, $optionValue)