# RoutablesInterface

Chevere\Interfaces\Router\RoutablesInterface

view source (opens new window)

# Extends

# Description

Describes the component in charge of collecting objects implementing RoutableInterface.

# Methods

# withPut

Return an instance with the specified $routable.

Parameters

Return

self

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


# has

Indicates whether the instance has a routable identified by its $name.

Parameters

  • name: string

Return

bool


# get

Returns the routable identified by its $name.

Parameters

  • name: string

# getGenerator


# keys

Provides access to the object keys.

Return

array


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