EscaperObjectDecoratorShim
in package
Standalone sfOutputEscaperObjectDecorator — thin wrapper around an object.
In Symfony mode, this wraps Propel objects for XSS-safe template output. In standalone mode, we don't wrap objects, but this class exists to prevent "class not found" errors in code that type-checks against it.
Table of Contents
Methods
- __call() : mixed
- Delegate method calls to the wrapped object.
- __construct() : mixed
- __get() : mixed
- Delegate property access to the wrapped object.
- __isset() : bool
- Delegate isset to the wrapped object.
- __toString() : string
- Delegate toString to the wrapped object.
- getRawValue() : mixed
- Get the raw (unwrapped) value.
Methods
__call()
Delegate method calls to the wrapped object.
public
__call(string $method, array<string|int, mixed> $args) : mixed
Parameters
- $method : string
- $args : array<string|int, mixed>
__construct()
public
__construct([mixed $escapingMethod = null ][, mixed $value = null ]) : mixed
Parameters
- $escapingMethod : mixed = null
- $value : mixed = null
__get()
Delegate property access to the wrapped object.
public
__get(string $name) : mixed
Parameters
- $name : string
__isset()
Delegate isset to the wrapped object.
public
__isset(string $name) : bool
Parameters
- $name : string
Return values
bool__toString()
Delegate toString to the wrapped object.
public
__toString() : string
Return values
stringgetRawValue()
Get the raw (unwrapped) value.
public
getRawValue() : mixed