Property | Type | Description | |
---|---|---|---|
$attachment_id | |||
$attachment_type | |||
$attachment_url | |||
$is_reuseable |
Method | Description | |
---|---|---|
__construct ( $type = AttachmentType::FILE ) | ||
attachment_id ( $id ) | ||
audio ( $url ) | ||
create ( $type = AttachmentType::FILE ) | ||
file ( $url ) | ||
image ( $url ) | ||
is_reuseable ( ) | ||
jsonSerialize ( ) | ||
toArray ( ) | ||
type ( $type ) | ||
url ( $url ) | ||
video ( $url ) |