IRoutingSource
IRoutingSource allows you to provide sources for the routing
Synopsis
Section titled “Synopsis”interface IRoutingSource
| Implemented by | RoutingArraySource, RoutingUserSource |
| Since | 1.0.0 |
| Source | Routing/IRoutingSource.php |
Methods
Section titled “Methods”| Method | Description |
|---|---|
getSource(array<int, string> $parts): mixed | Retrieves the value for a given entry from the source. |
getSource()
Section titled “getSource()”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.
| Parameter | Type | Description |
|---|---|---|
$parts | array``<``int``, ``string``> | An array with the name parts for the entry. |
Returns mixed — The value.