# SpecIndexMapInterface

Chevere\Interfaces\Spec\SpecIndexMapInterface

view source (opens new window)

# Extends

# Description

Describes the component in charge of collecting route spec endpoints.

# Methods

# withPut

Return an instance with the specified $specEndpoints for $routeName.

Parameters

Return

self

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


# hasKey

Indicates whether the instance has a spec endpoints identified by $routeName.

Parameters

  • routeName: string

Return

bool


# get

Returns the route endpoint spec identified by its $key.

Parameters

  • routeName: string

# getGenerator


# keys

Provides access to the object keys.

Return

array


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