RoutingUserSource
RoutingUserSource allows you to provide an user source for the routing
Synopsis
Section titled “Synopsis”class RoutingUserSource implements IRoutingSource
| Implements | IRoutingSource |
| Since | 1.0.0 |
| Source | Routing/RoutingUserSource.php |
Constructor
Section titled “Constructor”__construct()
Section titled “__construct()”public function __construct(ISecurityUser $user): mixed
Constructor.
An user instance.
| Parameter | Type | Description |
|---|---|---|
$user | ISecurityUser | An user instance. |
Returns mixed
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()”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.