ProductIndex
class ProductIndex extends Index
Properties
| protected mixed | $entity | The entity that should be indexed. | from Index |
Methods
Details
in Index at line 21
__construct(mixed $entity)
Create a new index instance.
at line 12
string
getKey()
Get the indexable key.
at line 22
array
toArray()
Get the indexable attributes.
in Index at line 46
mixed
__get(string $property)
Get the property from the entity.
in Index at line 56
array
jsonSerialize()
Get the json serializeable attributes.
in Index at line 66
string
__toString()
Get the string represantion of the index.