public function merge(AdapterChain $adaptersChain)
    {
        $adapters = $adaptersChain->adapters->toArray(PriorityQueue::EXTR_BOTH);

        foreach ($adapters as $item) {
            $this->attach($item['data'], $item['priority']);
        }

        return $this;
    }