\FAA\Obj\Generic\TraitsImages

Summary

Methods
Properties
Constants
Images()
MainImage()
GetPrimaryPicture()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

Images()

Images(boolean  $resolved = false): array|array<mixed,\FAA\Obj\Generic\Asset>

List images

Get the content of the images attribute relation Will generate and return an empty array hen attribute is not filled

Parameters

boolean $resolved

Returns

array|array<mixed,\FAA\Obj\Generic\Asset>

MainImage()

MainImage(): \FAA\Obj\Generic\Asset|null

Get main image

Returns

\FAA\Obj\Generic\Asset|null

GetPrimaryPicture()

GetPrimaryPicture(): \FAA\Obj\Generic\Traits\?Asset

Get the primary picture

Returns

\FAA\Obj\Generic\Traits\?Asset