class UserIndex extends Index

Properties

protected mixed $entity The entity that should be indexed. from Index

Methods

__construct(mixed $entity)

Create a new index instance.

from Index
string
getKey()

Get the indexable key.

array
toArray()

Get the indexable attributes.

mixed
__get(string $property)

Get the property from the entity.

from Index
array
jsonSerialize()

Get the json serializeable attributes.

from Index
string
__toString()

Get the string represantion of the index.

from Index

Details

in Index at line 21
__construct(mixed $entity)

Create a new index instance.

Parameters

mixed $entity

at line 12
string getKey()

Get the indexable key.

Return Value

string

at line 22
array toArray()

Get the indexable attributes.

Return Value

array

in Index at line 46
mixed __get(string $property)

Get the property from the entity.

Parameters

string $property

Return Value

mixed

in Index at line 56
array jsonSerialize()

Get the json serializeable attributes.

Return Value

array

in Index at line 66
string __toString()

Get the string represantion of the index.

Return Value

string