AssetRelInterface
in
Link between an entity and an image or file (`*AssetRel`, `*ImageRel`) with order and flags.
The TAssetRel template bound in AssetRelCollectionTrait
is BaseEntity&AssetRelInterface (alias AssetRelEntity in phpstan.neon), so getAssets() and
getMainAsset() sort and filter on a verified type.
Table of Contents
Methods
- getAsset() : Asset|null
- getOrder() : int
- isMain() : bool
- isRemoved() : bool
Methods
getAsset()
public
getAsset() : Asset|null
Return values
Asset|null —image of the link
getOrder()
public
getOrder() : int
Return values
intisMain()
public
isMain() : bool
Return values
boolisRemoved()
public
isRemoved() : bool