DiskFileDto extends Dto
FinalYes
Table of Contents
Properties
- $height : int|null
- $id : int
- $name : string|null
- $objectId : int
- $previewUrl : string|null
- $type : string|null
- $url : string|null
- $width : int|null
Methods
- __construct() : mixed
- getCachedCasts() : array<string|int, mixed>
- getCasts() : array<string, Caster>
- Method returns map, where key must relate to public property, and value specifies type of this property
- jsonSerialize() : mixed
- make() : mixed
- toArray() : array<string|int, mixed>
Properties
$height
public
int|null
$height
= null
$id
public
int
$id
$name
public
string|null
$name
= null
$objectId
public
int
$objectId
$previewUrl
public
string|null
$previewUrl
= null
$type
public
string|null
$type
= null
$url
public
string|null
$url
= null
$width
public
int|null
$width
= null
Methods
__construct()
public
__construct() : mixed
getCachedCasts()
public
getCachedCasts() : array<string|int, mixed>
Return values
array<string|int, mixed>getCasts()
Method returns map, where key must relate to public property, and value specifies type of this property
public
getCasts() : array<string, Caster>
use type hints and attribute \Bitrix\Mobile\Dto\Attributes\Collection instead
Return values
array<string, Caster> —property name => typecaster object
jsonSerialize()
public
jsonSerialize() : mixed
make()
public
static make([array<string|int, mixed>|null $fields = null ]) : mixed
Parameters
- $fields : array<string|int, mixed>|null = null
toArray()
public
toArray() : array<string|int, mixed>