File manager - Edit - /home/c14075/dragmet-ural.ru/www/bitrix/modules/sale/lib/services/base/restrictioninfo.php
Back
<?php namespace Bitrix\Sale\Services\Base; final class RestrictionInfo { private string $restrictionType; private array $options; public function __construct(string $restrictionType, array $options = []) { $this->options = $options; $this->restrictionType = $restrictionType; } public function getType(): string { return $this->restrictionType; } public function getOption(string $optionId) { return $this->options[$optionId] ?? null; } public function setOption(string $optionId, $value): void { $this->options[$optionId] = $value; } public function getOptions(): array { return $this->options; } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.18 |
proxy
|
phpinfo
|
Settings