Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
InvitationCollection.php
1
<?php
2
3
namespace
Bitrix\Socialnetwork\Space\List\Invitation
;
4
5
use
Bitrix\Main\Type\Contract\Arrayable
;
6
7
final
class
InvitationCollection
implements
Arrayable
8
{
10
private
array $items = [];
11
12
public
function
add
(
Invitation
$invitation): void
13
{
14
$this->items[] = $invitation;
15
}
16
17
public
function
toArray
(): array
18
{
19
return
$this->items;
20
}
21
}
Bitrix\Socialnetwork\Space\List\Invitation\InvitationCollection
Definition
InvitationCollection.php:8
Bitrix\Socialnetwork\Space\List\Invitation\InvitationCollection\add
add(Invitation $invitation)
Definition
InvitationCollection.php:12
Bitrix\Socialnetwork\Space\List\Invitation\InvitationCollection\toArray
toArray()
Definition
InvitationCollection.php:17
Bitrix\Socialnetwork\Space\List\Invitation\Invitation
Definition
Invitation.php:10
Bitrix\Main\Type\Contract\Arrayable
Definition
arrayable.php:6
Bitrix\Socialnetwork\Space\List\Invitation
Definition
Invitation.php:3
modules
socialnetwork
lib
Space
List
Invitation
InvitationCollection.php
Создано системой
1.10.0