class Reflection in Zircon Profile 8.0
Same name in this branch
- 8.0 vendor/zendframework/zend-hydrator/src/Reflection.php \Zend\Hydrator\Reflection
- 8.0 vendor/zendframework/zend-stdlib/src/Hydrator/Reflection.php \Zend\Stdlib\Hydrator\Reflection
Same name and namespace in other branches
- 8 vendor/zendframework/zend-stdlib/src/Hydrator/Reflection.php \Zend\Stdlib\Hydrator\Reflection
Hierarchy
- class \Zend\Hydrator\AbstractHydrator implements FilterEnabledInterface, HydratorInterface, NamingStrategyEnabledInterface, StrategyEnabledInterface
- class \Zend\Hydrator\Reflection
- class \Zend\Stdlib\Hydrator\Reflection implements HydratorInterface
- class \Zend\Hydrator\Reflection
Expanded class hierarchy of Reflection
Deprecated
Use Zend\Hydrator\Reflection from zendframework/zend-hydrator instead.
File
- vendor/
zendframework/ zend-stdlib/ src/ Hydrator/ Reflection.php, line 17
Namespace
Zend\Stdlib\HydratorView source
class Reflection extends BaseReflection implements HydratorInterface {
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AbstractHydrator:: |
protected | property | Composite to filter the methods, that need to be hydrated | |
AbstractHydrator:: |
protected | property | An instance of NamingStrategy\NamingStrategyInterface | |
AbstractHydrator:: |
protected | property | The list with strategies that this hydrator has. | |
AbstractHydrator:: |
public | function |
Add a new filter to take care of what needs to be hydrated.
To exclude e.g. the method getServiceLocator: Overrides FilterEnabledInterface:: |
1 |
AbstractHydrator:: |
public | function |
Adds the given strategy under the given name. Overrides StrategyEnabledInterface:: |
|
AbstractHydrator:: |
public | function | Convert a name for extraction. If no naming strategy exists, the plain value is returned. | |
AbstractHydrator:: |
public | function | Converts a value for extraction. If no strategy exists the plain value is returned. | |
AbstractHydrator:: |
public | function | Get the filter instance | |
AbstractHydrator:: |
public | function |
Gets the naming strategy. Overrides NamingStrategyEnabledInterface:: |
|
AbstractHydrator:: |
public | function |
Gets the strategy with the given name. Overrides StrategyEnabledInterface:: |
|
AbstractHydrator:: |
public | function |
Check whether a specific filter exists at key $name or not Overrides FilterEnabledInterface:: |
|
AbstractHydrator:: |
public | function |
Checks if a naming strategy exists. Overrides NamingStrategyEnabledInterface:: |
|
AbstractHydrator:: |
public | function |
Checks if the strategy with the given name exists. Overrides StrategyEnabledInterface:: |
|
AbstractHydrator:: |
public | function | Converts a value for hydration. If no naming strategy exists, the plain value is returned. | |
AbstractHydrator:: |
public | function | Converts a value for hydration. If no strategy exists the plain value is returned. | |
AbstractHydrator:: |
public | function |
Remove a filter from the composition.
To not extract "has" methods, you simply need to unregister it Overrides FilterEnabledInterface:: |
1 |
AbstractHydrator:: |
public | function |
Removes the naming strategy Overrides NamingStrategyEnabledInterface:: |
1 |
AbstractHydrator:: |
public | function |
Removes the strategy with the given name. Overrides StrategyEnabledInterface:: |
|
AbstractHydrator:: |
public | function |
Adds the given naming strategy Overrides NamingStrategyEnabledInterface:: |
1 |
AbstractHydrator:: |
public | function | Initializes a new instance of this class. | 1 |
Reflection:: |
protected static | property | Simple in-memory array cache of ReflectionProperties used. | |
Reflection:: |
public | function |
Extract values from an object Overrides ExtractionInterface:: |
|
Reflection:: |
protected static | function | Get a reflection properties from in-memory cache and lazy-load if class has not been loaded. | |
Reflection:: |
public | function |
Hydrate $object with the provided $data. Overrides HydrationInterface:: |