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 |
|---|---|---|
| $props | array |
[ ] |
| $forwarded | bool |
false |
Return type
string