# RouteEndpointsInterface

Chevere\Interfaces\Router\Route\RouteEndpointsInterface

view source (opens new window)

# Extends

# Description

Describes the component in charge of collecting objects implementing RouteEndpointInterface.

# Methods

# withPut

Return an instance with the specified $routeEndpoint.

Parameters

Return

self

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


# hasKey

Returns a boolean indicating whether the instance has $key.

Parameters

  • key: string

Return

bool


# get

Provides access to the RouteEndpointInterface identified by $key.

Parameters

  • key: string

# getGenerator


# keys

Provides access to the object keys.

Return

array


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