Helper for escaping values
Set the encoding to use for escape operations
Parameters: | string – |
---|---|
Throws ExceptionInvalidArgumentException: | |
Return type: | AbstractHelper |
Get the encoding to use for escape operations
Return type: | string |
---|
Invoke this helper: escape a value
Parameters: |
|
---|---|
Return type: | mixed Given a scalar, a scalar value is returned. Given an object, with the $recurse flag not allowing object recursion, returns a string. Otherwise, returns an array. |
Throws : | ExceptionInvalidArgumentException |
Escape a value for current escaping strategy
Parameters: | string – |
---|---|
Return type: | string |