# IndexSpecInterface

Chevere\Interfaces\Spec\Specs\IndexSpecInterface

view source (opens new window)

# Extends

# Description

Describes the component in charge of defining the index spec.

# Methods

# __construct

Parameters


# withAddedGroup

Return an instance with the specified $groupSpec.

Parameters

Return

self

This method MUST retain the state of the current instance, and return an instance that contains the specified $groupSpec.


# jsonPath

Provides access to the json path.

Return

string


# key

Provides access to the key.

Return

string


# toArray

Returns an array, representing the object itself or some of its data/properties.

Return

array


Last Updated: 5/1/2021, 2:31:10 PM