public function export()
    {
        $priorities = array_keys($this->storage);
        rsort($priorities, SORT_NUMERIC);

        $callbacks = [];
        foreach ($priorities as $priority) {
            $callbacks = array_merge($callbacks, $this->storage[$priority]);
        }
        return $callbacks;
    }