class ItemAttributes extends BaseEntity

Class ItemAttributes

Methods

__construct(array $raw)

ItemAttributes constructor.

mixed
attr(string $key)

Get an arbitrary attribute from this item attributes set.

mixed
__get(string $name)

Get an attribute or property (shorthand)

Details

at line line 34
__construct(array $raw)

ItemAttributes constructor.

Parameters

array $raw

at line line 50
mixed attr(string $key)

Get an arbitrary attribute from this item attributes set.

Parameters

string $key

Return Value

mixed

at line line 62
mixed __get(string $name)

Get an attribute or property (shorthand)

Parameters

string $name

Return Value

mixed