Server IP : 80.87.202.40 / Your IP : 216.73.216.169 Web Server : Apache System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64 User : bitrix ( 600) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/bitrix/ext_www/rospirotorg.ru/bitrix/modules/seo/lib/businesssuite/ |
Upload File : |
<?php namespace Bitrix\Seo\BusinessSuite; use Bitrix\Seo\Retargeting\IService; class ServiceMetaData { /**@var int|string|null $clientId*/ protected $clientId; /**@var string|null $type*/ protected $type; /**@var string|null $engineCode*/ protected $engineCode; /**@var IInternalService $service*/ protected $service; /** * create instance of ServiceMetaData * @return static */ public static function create(): ServiceMetaData { return new static(); } /** * Type getter * @return string|null */ public function getType(): ?string { return $this->type; } /** * Engine code getter * @return string|null */ public function getEngineCode(): ?string { return $this->engineCode; } /** * Client id getter * @return int|string|null */ public function getClientId() { return $this->clientId; } /** * Type setter * @param string $type * * @return $this */ public function setType(string $type): ServiceMetaData { $this->type = $type; return $this; } /** * Client id setter * @param int $clientId * * @return $this */ public function setClientId(int $clientId): ServiceMetaData { $this->clientId = $clientId; return $this; } /** * Engine code setter * @param string $code * * @return $this */ public function setEngineCode(string $code): ServiceMetaData { $this->engineCode = $code; return $this; } /** * Service setter * @param IInternalService|null $service * * @return $this */ public function setService(?IInternalService $service): ServiceMetaData { $this->service = $service; return $this; } /** * Service getter * @return IInternalService|null */ public function getService() : ?IInternalService { return $this->service; } }