for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Stratadox\Hydrator;
/**
* Attaches an observer that gets invoked after hydrating the instance.
*
* @author Stratadox
*/
final class ObserveAfter extends Observe
{
/** @inheritdoc */
public function writeTo(object $target, array $input): void
$this->hydrate($target, $input);
$this->observe($target, $input);
}