class HydrateEvent in Zircon Profile 8.0
Same name in this branch
- 8.0 vendor/zendframework/zend-hydrator/src/Aggregate/HydrateEvent.php \Zend\Hydrator\Aggregate\HydrateEvent
- 8.0 vendor/zendframework/zend-stdlib/src/Hydrator/Aggregate/HydrateEvent.php \Zend\Stdlib\Hydrator\Aggregate\HydrateEvent
Same name and namespace in other branches
- 8 vendor/zendframework/zend-hydrator/src/Aggregate/HydrateEvent.php \Zend\Hydrator\Aggregate\HydrateEvent
Event triggered when the {data into an object
Hierarchy
- class \Zend\Hydrator\Aggregate\HydrateEvent extends \Zend\EventManager\Event
Expanded class hierarchy of HydrateEvent
See also
AggregateHydrator} hydrates
1 file declares its use of HydrateEvent
- HydrateEvent.php in vendor/
zendframework/ zend-stdlib/ src/ Hydrator/ Aggregate/ HydrateEvent.php
File
- vendor/
zendframework/ zend-hydrator/ src/ Aggregate/ HydrateEvent.php, line 18
Namespace
Zend\Hydrator\AggregateView source
class HydrateEvent extends Event {
const EVENT_HYDRATE = 'hydrate';
/**
* {@inheritDoc}
*/
protected $name = self::EVENT_HYDRATE;
/**
* @var object
*/
protected $hydratedObject;
/**
* @var array
*/
protected $hydrationData;
/**
* @param object $target
* @param object $hydratedObject
* @param array $hydrationData
*/
public function __construct($target, $hydratedObject, array $hydrationData) {
$this->target = $target;
$this->hydratedObject = $hydratedObject;
$this->hydrationData = $hydrationData;
}
/**
* Retrieves the object that is being hydrated
*
* @return object
*/
public function getHydratedObject() {
return $this->hydratedObject;
}
/**
* @param object $hydratedObject
*/
public function setHydratedObject($hydratedObject) {
$this->hydratedObject = $hydratedObject;
}
/**
* Retrieves the data that is being used for hydration
*
* @return array
*/
public function getHydrationData() {
return $this->hydrationData;
}
/**
* @param array $hydrationData
*/
public function setHydrationData(array $hydrationData) {
$this->hydrationData = $hydrationData;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
HydrateEvent:: |
protected | property | ||
HydrateEvent:: |
protected | property | ||
HydrateEvent:: |
protected | property | ||
HydrateEvent:: |
constant | |||
HydrateEvent:: |
public | function | Retrieves the object that is being hydrated | |
HydrateEvent:: |
public | function | Retrieves the data that is being used for hydration | |
HydrateEvent:: |
public | function | ||
HydrateEvent:: |
public | function | ||
HydrateEvent:: |
public | function |