# SpecEndpointsInterface

Chevere\Interfaces\Spec\SpecEndpointsInterface

view source (opens new window)

# Extends

# Description

Describes the component in charge of collecting objects implementing RouteEndpointSpecInterface.

# Methods

# withPut

Return an instance with the specified $routeEndpointSpec.

Parameters

  • routeEndpointSpec: Specs/RouteEndpointSpecInterface.md

Return

self

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


# has

Indicates whether the instance has a route endpoint identified by its $methodName.

Parameters

  • methodName: string

Return

bool


# get

Returns the group spec identified by its $methodName.

Parameters

  • methodName: string

Return

string


# keys

Provides access to the object keys.

Return

array


# getGenerator

Provides the generator.


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