<?php

declare(strict_types=1);

namespace KupShop\FeedsBundle\Wrapper;

class TemplateWrapperFactory implements IWrapperFactory
{
    private BlockWrapperFactory $blockWrapper;

    public function __construct(BlockWrapperFactory $blockWrapper)
    {
        $this->blockWrapper = $blockWrapper;
    }

    public function create(): BaseWrapper
    {
        return new TemplateWrapper($this->blockWrapper);
    }
}
