1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
AppService.php
См. документацию.
1<?php
2
3declare(strict_types=1);
4
5namespace Bitrix\Rest\Service;
6
7use Bitrix\Main\Web\Uri;
8use Bitrix\Rest\Contract;
9use Bitrix\Rest\Entity\Collection\AppCollection;
10use Bitrix\Rest\Internals\FreeAppTable;
11use Bitrix\Rest\Marketplace\Client;
12
14{
15 public function __construct(
16 private readonly Contract\Repository\AppRepository $appRepository,
17 )
18 {}
19
21 {
22 return $this->appRepository->getPaidApplications();
23 }
24
25 public function hasPaidApps(): bool
26 {
27 return $this->appRepository->hasPaidApps();
28 }
29}
__construct(private readonly Contract\Repository\AppRepository $appRepository,)
Определения AppService.php:15