# RouteInterface

Chevere\Interfaces\Router\Route\RouteInterface

view source (opens new window)

# Description

Describes the component in charge of defining a route.

# Methods

# __construct

Parameters


# path

Provides access to the $path instance.


# maker

Provides access to the file maker.

Return

array


# withAddedEndpoint

Return an instance with the specified added $routeEndpoint.

Parameters

Return

self

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

This method should allow to override any previous $routeEndpoint.


# endpoints

Provides access to the endpoints instance.


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