| Fully Qualified Name: | Laminas\Filter\Encrypt |
| Extends: | AbstractFilter |
Encrypts a given string
| Name | Description | Defined By |
|---|---|---|
| __call() | Calls adapter methods | Encrypt |
| __construct() | Class constructor | Encrypt |
| __invoke() | Invoke filter as a command | AbstractFilter |
| filter() | Defined by Laminas\Filter\Filter | Encrypt |
| getAdapter() | Returns the name of the set adapter | Encrypt |
| getAdapterInstance() | Returns the adapter instance | Encrypt |
| getOptions() | Retrieve options representing object state | AbstractFilter |
| hasPcreUnicodeSupport() | AbstractFilter | |
| setAdapter() | Sets new encryption options | Encrypt |
| setOptions() | AbstractFilter |
Calls adapter methods
| Parameter Name | Type | Description |
|---|---|---|
| $method | string | Method |
| $options | string|array | Options |
Returns: mixed
Class constructor
| Parameter Name | Type | Description |
|---|---|---|
| $options | string|array|\Traversable | (Optional) |
Returns:
Invoke filter as a command
Proxies to {@link filter()}
| Parameter Name | Type | Description |
|---|---|---|
| $value | mixed |
Returns: mixed
Defined by Laminas\Filter\Filter
Encrypts the content $value with the defined settings
| Parameter Name | Type | Description |
|---|---|---|
| $value | string | Content |
Returns: string The encrypted content
Returns the name of the set adapter
Returns: string
Returns the adapter instance
Returns: \Encrypt\EncryptionAlgorithmInterface
Retrieve options representing object state
Returns: array
Returns: bool
Sets new encryption options
| Parameter Name | Type | Description |
|---|---|---|
| $options | string|array | (Optional) |
Returns: self
| Parameter Name | Type | Description |
|---|---|---|
| $options | array|\Traversable |
Returns: self