This enhancer sets a field if not yet existing from the class of an object in another field.
The comparison is done with instanceof to support proxy classes and such.
Only works with RouteObjectInterface routes that can return a referenced content.
@author David Buchmann
Expanded class hierarchy of FieldByClassEnhancer
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
FieldByClassEnhancer:: |
protected | property | ||
FieldByClassEnhancer:: |
protected | property | ||
FieldByClassEnhancer:: |
protected | property | ||
FieldByClassEnhancer:: |
public | function |
If the source field is instance of one of the entries in the map,
target is set to the value of that map entry. Overrides RouteEnhancerInterface:: |
|
FieldByClassEnhancer:: |
public | function |