Sticker
extends Model
in package
implements
Entity, HasThumbnail
Uses
HasEntity, HasFactory, HasThumbnailTrait
Class Sticker.
Tags
Table of Contents
Interfaces
- Entity
- Interface Entity.
- HasThumbnail
- Interface HasThumbnail.
Constants
- ENTITY_TYPE = 'sticker'
- IS_DELETED = 1
- IS_VIEW_ONLY = 1
Properties
- $id : int
- $image_file_id : string
- $image_path : string
- $images : array<int|string, mixed>
- $is_deleted : int
- $ordering : int
- $set_id : int
- $stickerSet : StickerSet
- $thumbnail_file_id : int
- $thumbs : array<int|string, mixed>
- $timestamps : mixed
- $view_only : int
- $fillable : array<string|int, string>
- $table : mixed
Methods
- entityId() : int
- entityType() : string
- factory() : StickerFactory
- getImageAttribute() : string|null
- getImagesAttribute() : array<string|int, mixed>|null
- getSizes() : array<string|int, int>
- getThumbnail() : string|null
- getThumbnailFile() : int|null
- getThumbsAttribute() : array<string|int, mixed>|null
- moduleName() : string
- stickerSet() : BelongsTo
- newFactory() : StickerFactory
Constants
ENTITY_TYPE
public
mixed
ENTITY_TYPE
= 'sticker'
IS_DELETED
public
mixed
IS_DELETED
= 1
IS_VIEW_ONLY
public
mixed
IS_VIEW_ONLY
= 1
Properties
$id
public
int
$id
$image_file_id
public
string
$image_file_id
$image_path
public
string
$image_path
$images
public
array<int|string, mixed>
$images
$is_deleted
public
int
$is_deleted
$ordering
public
int
$ordering
$set_id
public
int
$set_id
$stickerSet
public
StickerSet
$stickerSet
$thumbnail_file_id
public
int
$thumbnail_file_id
$thumbs
public
array<int|string, mixed>
$thumbs
$timestamps
public
mixed
$timestamps
= false
$view_only
public
int
$view_only
$fillable
protected
array<string|int, string>
$fillable
= ['set_id', 'image_path', 'server_id', 'ordering', 'view_only', 'image_file_id', 'thumbnail_file_id', 'is_deleted']
$table
protected
mixed
$table
= 'stickers'
Methods
entityId()
public
entityId() : int
Return values
intentityType()
public
entityType() : string
Return values
stringfactory()
public
static factory(mixed $parameters) : StickerFactory
Parameters
- $parameters : mixed
Return values
StickerFactorygetImageAttribute()
public
getImageAttribute() : string|null
Return values
string|nullgetImagesAttribute()
public
getImagesAttribute() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|nullgetSizes()
public
getSizes() : array<string|int, int>
Return values
array<string|int, int>getThumbnail()
public
getThumbnail() : string|null
Return values
string|nullgetThumbnailFile()
public
getThumbnailFile() : int|null
Return values
int|nullgetThumbsAttribute()
public
getThumbsAttribute() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|nullmoduleName()
public
moduleName() : string
Return values
stringstickerSet()
public
stickerSet() : BelongsTo
Return values
BelongsTonewFactory()
protected
static newFactory() : StickerFactory