public function addBlockManager(BlockManagerInterface $blockManager, array $attributes)
    {
        if (empty($attributes['type'])) {
            return;
        }

        $blockManager->setFactoryRepository($this->factoryRepository);
        $this->blockManagersItems[] = new BlockManagerFactoryItem($blockManager, $attributes);
    }