<?php
// Copyright (c) Pickware GmbH. All rights reserved.
// This file is part of software that is released under a proprietary license.
// You must not copy, modify, distribute, make publicly available, or execute
// its contents or parts thereof without express permission by the copyright
// holder, unless otherwise permitted by law.

namespace Shopware\Plugins\ViisonCommon\Classes\Subscribers;

/**
 * @deprecated Use \Shopware\Plugins\ViisonCommon\Classes\Subscribers\DocumentTypeHidingSubscriber instead. Pay
 * attention to changed __constructor signature!
 */
class HideDocumentTypeSubscriber extends DocumentTypeHidingSubscriber
{
    /**
     * @deprecated Use \Shopware\Plugins\ViisonCommon\Classes\Subscribers\DocumentTypeHidingSubscriber instead. Pay
     * attention to changed __constructor signature!
     *
     * @param \Shopware_Components_Plugin_Bootstrap $pluginBootstrap
     * @param string[] $hiddenDocumentNames a list of document type names to hide
     * @param string[] $hiddenDocumentNumbers a list of document number sequence generators for which to hide the document type
     */
    public function __construct(
        \Shopware_Components_Plugin_Bootstrap $pluginBootstrap,
        array $hiddenDocumentNames = [],
        array $hiddenDocumentNumbers = []
    ) {
        parent::__construct($pluginBootstrap, [
            'names' => $hiddenDocumentNames,
            'numberRangeNames' => $hiddenDocumentNumbers,
        ]);
    }
}
