src/Events/ApproveLinkEvent.php
public function update(IEventContainer $eventContainer, array $values)
    {
        if (isset($values['id_user'])) {
            $hash = $this->identityModel->getEncodeHash($values['id_user'], $values['login'], $this->validate);

            $component = $eventContainer->getComponent();
            $eventContainer->addValues(['approve_link' => $component->presenter->link($this->destination, $hash)]);
        }
    }
public function update(IEventContainer $eventContainer, array $values)
    {
        if (isset($values['id_user'])) {
            $hash = $this->identityModel->getEncodeHash($values['id_user'], $values['login'], $this->validate);

            $component = $eventContainer->getComponent();
            $eventContainer->addValues(['approve_link' => $component->presenter->link($this->destination, $hash)]);
        }
    }
Update.

@param IEventContainer $eventContainer
@param array           $values