Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
SpaceSearchData.php
1
<?php
2
3
namespace
Bitrix\Socialnetwork\Space\List\RecentSearch
;
4
5
use
Bitrix\Main\Type\DateTime
;
6
7
final
class
SpaceSearchData
8
{
9
public
function
__construct
(
private
int
$spaceId,
private
?
DateTime
$lastSearchDate =
null
)
10
{}
11
12
public
function
getSpaceId
(): int
13
{
14
return
$this->spaceId;
15
}
16
17
public
function
getLastSearchDate
(): ?
DateTime
18
{
19
return
$this->lastSearchDate;
20
}
21
}
Bitrix\Main\Type\DateTime
Definition
datetime.php:9
Bitrix\Socialnetwork\Space\List\RecentSearch\SpaceSearchData
Definition
SpaceSearchData.php:8
Bitrix\Socialnetwork\Space\List\RecentSearch\SpaceSearchData\getSpaceId
getSpaceId()
Definition
SpaceSearchData.php:12
Bitrix\Socialnetwork\Space\List\RecentSearch\SpaceSearchData\__construct
__construct(private int $spaceId, private ?DateTime $lastSearchDate=null)
Definition
SpaceSearchData.php:9
Bitrix\Socialnetwork\Space\List\RecentSearch\SpaceSearchData\getLastSearchDate
getLastSearchDate()
Definition
SpaceSearchData.php:17
Bitrix\Socialnetwork\Space\List\RecentSearch
Definition
RecentSearchManager.php:2
modules
socialnetwork
lib
Space
List
RecentSearch
SpaceSearchData.php
Создано системой
1.10.0