public function on($method, $listener)
    {
        if (!array_key_exists($method, $this->_listeners)) {
            $this->_listeners[$method] = [];
        }

        array_push($this->_listeners[$method], $listener);
    }