src/Observing/Observer.php
public function dispatchNotification(ObservedInterface $observed): ObserverInterface
    {
        //Extract from the observed the event and generate formated events name
        $event = $observed->getLastEvent();
        $eventsNamesList = $this->getTokenizer()->getToken($event);

        foreach ($eventsNamesList as $eventName) {
            foreach ($this->dispatchersList as $dispatcher) {
                $dispatcher->dispatch($eventName, $event);
            }
        }

        return $this;
    }
public function dispatchNotification(ObservedInterface $observed): ObserverInterface
    {
        //Extract from the observed the event and generate formated events name
        $event = $observed->getLastEvent();
        $eventsNamesList = $this->getTokenizer()->getToken($event);

        foreach ($eventsNamesList as $eventName) {
            foreach ($this->dispatchersList as $dispatcher) {
                $dispatcher->dispatch($eventName, $event);
            }
        }

        return $this;
    }
{@inheritdoc}