class Media extends Model (View source)

Class Media

Properties

protected string $field Set GraphQL mutation field name
protected string $batchId Batch ID
protected string $imageUrl Image Url
protected string $mediaName Media Name
protected string $tribeSlug Tribe Slug
protected string $tribeName Tribe Name
protected string $productSlug Product Slug
protected string $productName Product Name
protected string $description Description
protected string $industry Industry
protected boolean $share Share with others stores

Methods

__construct(array $attributes)

Media constructor

from Model
fill(array $attributes)

Fill all attributes to model

from Model
string
toQuery()

Make a query string

from Model
mixed
toArray()

Get the instance as an array.

Details

__construct(array $attributes)

Media constructor

Parameters

array $attributes

fill(array $attributes)

Fill all attributes to model

Parameters

array $attributes

string toQuery()

Make a query string

Return Value

string

mixed toArray()

Get the instance as an array.

Return Value

mixed