Interface Yiisoft\Yii\DataView\Url\UrlParameterProviderInterface
| Implemented by | Yiisoft\ |
|---|
UrlParameterProviderInterface defines a contract for retrieving URL parameters.
Public Methods
| Method | Description | Defined By |
|---|---|---|
| get() | Retrieves a URL parameter value by its name and type. | Yiisoft\ |
Method Details
Retrieves a URL parameter value by its name and type.
| public abstract string|null get ( string $name, \ | ||
| $name | string |
The name of the parameter to retrieve. |
| $type | \ |
The type of the parameter. |
| return | string|null |
The parameter value if found, |
|---|---|---|
public function get(string $name, UrlParameterType $type): ?string;
User Contributed Notes
Leave a comment
Join the conversation to share a note.