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