3declare(strict_types=1);
5namespace Bitrix\Socialnetwork\Collab\Control\Command\ValueObject;
7use Bitrix\Main\Validation\Rule\ElementsType;
8use Bitrix\Socialnetwork\Collab\Control\Command\Attribute\ValidatableElements;
9use Bitrix\Socialnetwork\Collab\Control\Option\AbstractOption;
10use Bitrix\Socialnetwork\Collab\Control\Option\OptionFactory;
11use Bitrix\Socialnetwork\Control\Command\ValueObject\CreateObjectInterface;
12use Bitrix\Socialnetwork\Control\Command\ValueObject\CreateWithDefaultValueInterface;
13use Bitrix\Socialnetwork\ValueObjectInterface;
17 #[ElementsType(className: AbstractOption::class)]
18 #[ValidatableElements]
23 $value =
new static();
25 $data = array_merge(OptionFactory::DEFAULT_OPTIONS,
$data);
37 $value =
new static();
static create(mixed $data)
addOption(AbstractOption $option)
static createWithDefaultValue()
__construct(AbstractOption ... $options)
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)