# RoutableSpecsInterface

Chevere\Interfaces\Spec\Specs\RoutableSpecsInterface

view source (opens new window)

# Extends

# Description

Describes the component in charge of collecting objects implementing RoutableSpecInterface.

# Methods

# withPut

Return an instance with the specified $routableSpec.

Parameters

Return

self

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


# has

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

Parameters

  • routeName: string

Return

bool


# get

Returns the routable spec identified by its $routeName.

Parameters

  • routeName: string

# getGenerator


# keys

Provides access to the object keys.

Return

array


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