Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
NullTypeCaster.php
1
<?php
2
3
namespace
Bitrix\Catalog\v2\Fields\TypeCasters
;
4
13
class
NullTypeCaster
implements
TypeCasterContract
14
{
15
public
function
cast
($name, $value)
16
{
17
return
$value;
18
}
19
20
public
function
has
($name): bool
21
{
22
return
true
;
23
}
24
}
Bitrix\Catalog\v2\Fields\TypeCasters\NullTypeCaster
Definition
NullTypeCaster.php:14
Bitrix\Catalog\v2\Fields\TypeCasters\NullTypeCaster\has
has($name)
Definition
NullTypeCaster.php:20
Bitrix\Catalog\v2\Fields\TypeCasters\NullTypeCaster\cast
cast($name, $value)
Definition
NullTypeCaster.php:15
Bitrix\Catalog\v2\Fields\TypeCasters\TypeCasterContract
Definition
TypeCasterContract.php:14
Bitrix\Catalog\v2\Fields\TypeCasters
Definition
MapTypeCaster.php:3
modules
catalog
lib
v2
Fields
TypeCasters
NullTypeCaster.php
Создано системой
1.10.0