Closed spernica closed 5 years ago
Version for Nette 2.4 has got an error "Maximum function nesting level of x reached"
There is a missing fix in this file https://github.com/Kdyby/Events/blob/v2.4/src/Kdyby/Events/SymfonyDispatcher.php
public function getListeners($eventName = null) { return $this->getListeners($eventName); }
must be public function getListeners($eventName = null) { return $this->evm->getListeners($eventName); }
public function getListeners($eventName = null) { return $this->evm->getListeners($eventName); }
Version for Nette 2.4 has got an error "Maximum function nesting level of x reached"
There is a missing fix in this file https://github.com/Kdyby/Events/blob/v2.4/src/Kdyby/Events/SymfonyDispatcher.php
public function getListeners($eventName = null) { return $this->getListeners($eventName); }
must be
public function getListeners($eventName = null) { return $this->evm->getListeners($eventName); }