Skip to content

IRoutingSource

IRoutingSource allows you to provide sources for the routing

interface IRoutingSource

Implemented byRoutingArraySource, RoutingUserSource
Since1.0.0
SourceRouting/IRoutingSource.php
MethodDescription
getSource(array<int, string> $parts): mixedRetrieves the value for a given entry from the source.

abstract public function getSource(array<int, string> $parts): mixed

Retrieves the value for a given entry from the source.

An array with the name parts for the entry.

ParameterTypeDescription
$partsarray``<``int``, ``string``>An array with the name parts for the entry.

Returns mixed — The value.