DefaultIndex
final class DefaultIndex implements Index (View source)
A PHP representation of an index
Methods
string
name()
Returns the name of the index
string
kind()
Returns the kind of index
string
target()
Returns the target column of the index
array
options()
Returns all the index's options
string
className()
Returns the class name of the index
bool
isCustom()
Determines if the index is a custom index.
Details
string
name()
Returns the name of the index
string
kind()
Returns the kind of index
string
target()
Returns the target column of the index
Value
option(string $name)
Return a column's option by name
array
options()
Returns all the index's options
string
className()
Returns the class name of the index
bool
isCustom()
Determines if the index is a custom index.