Current Path : /var/www/www-root/data/www/monolith-realty.ru/bitrix/modules/seo/lib/controller/business/ |
Current File : /var/www/www-root/data/www/monolith-realty.ru/bitrix/modules/seo/lib/controller/business/setup.php |
<?php namespace Bitrix\Seo\Controller\Business; use Bitrix\Main; use Bitrix\Seo\BusinessSuite\Configuration\Facebook; use Bitrix\Seo\BusinessSuite\Configuration\IConfig; final class Setup extends Main\Engine\Controller { /** * @return IConfig */ public function defaultAction(): IConfig { try { $current = $this->loadAction(); } finally { return $current ?? Facebook\Setup::default(); } } /** * @return IConfig */ public function loadAction(): IConfig { return Facebook\Setup::load(); } }