Uri::index()
Creates an Uri object for the URL to the index.php or any other executed script.
Uri::index(array $props = [ ], bool $forwarded = false): string
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| $props | array |
[ ] |
|
| $forwarded | bool |
false |
Deprecated! Todo: remove in 3.7.0 |
Return type
string