| Fully Qualified Name: | Laminas\Session\Validator\HttpUserAgent |
| Implements: | ValidatorInterface |
| Name | Description | Defined By |
|---|---|---|
| __construct() | Constructor get the current user agent and store it in the session as 'valid data' | HttpUserAgent |
| getData() | Retrieve token for validating call | HttpUserAgent |
| getName() | Return validator name | HttpUserAgent |
| isValid() | isValid() - this method will determine if the current user agent matches the user agent we stored when we initialized this variable. | HttpUserAgent |
Constructor get the current user agent and store it in the session as 'valid data'
| Parameter Name | Type | Description |
|---|---|---|
| $data | string|null |
Returns:
Retrieve token for validating call
Returns: string
Return validator name
Returns: string
isValid() - this method will determine if the current user agent matches the user agent we stored when we initialized this variable.
Returns: bool