Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/old/vendor/extmag/shiplab/Controller/Adminhtml/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/old/vendor/extmag/shiplab/Controller/Adminhtml/Printer.php
<?php
/**
 * Copyright © Extmag. All rights reserved.
 */

namespace Extmag\Shiplab\Controller\Adminhtml;

use Extmag\Shiplab\Api\LabelRepositoryInterface;
use Extmag\Shiplab\Helper\Manager;
use Extmag\Shiplab\Helper\Pdf;
use Extmag\Shiplab\Helper\Thermal;
use Extmag\Shiplab\Helper\Url;
use Extmag\Shiplab\Model\ResourceModel\Label\CollectionFactory;
use Magento\Backend\App\Action;
use Magento\Backend\App\Action\Context;
use Magento\Framework\App\Response\Http\FileFactory;
use Magento\Framework\Controller\Result\RawFactory;
use Magento\Framework\Filesystem\Driver\File;
use Magento\Framework\View\LayoutFactory;
use Magento\Ui\Component\MassAction\Filter;

abstract class Printer extends Action
{
    /**
     * @var Filter
     */
    protected $filter;

    /**
     * @var CollectionFactory
     */
    protected $collectionFactory;

    /**
     * @var FileFactory
     */
    protected $fileFactory;

    /**
     * @var Pdf
     */
    protected $pdf;

    /**
     * @var LabelRepositoryInterface
     */
    protected $labelRepository;

    /**
     * @var RawFactory
     */
    protected $resultRawFactory;

    /**
     * @var LayoutFactory
     */
    protected $layoutFactory;
    /**
     * @var Thermal
     */
    protected $thermal;
    /**
     * @var File
     */
    protected $file;
    /**
     * @var Url
     */
    protected $url;
    /**
     * @var Manager
     */
    protected $manager;

    /**
     * @param Context $context
     * @param Filter $filter
     * @param CollectionFactory $collectionFactory
     * @param FileFactory $fileFactory
     * @param Pdf $pdf
     * @param LabelRepositoryInterface $labelRepository
     * @param RawFactory $resultRawFactory
     * @param LayoutFactory $layoutFactory
     * @param Thermal $thermal
     * @param File $file
     * @param Url $url
     * @param Manager $manager
     */
    public function __construct(
        Context $context,
        Filter $filter,
        CollectionFactory $collectionFactory,
        FileFactory $fileFactory,
        Pdf $pdf,
        LabelRepositoryInterface $labelRepository,
        RawFactory $resultRawFactory,
        LayoutFactory $layoutFactory,
        Thermal $thermal,
        File $file,
        Url $url,
        Manager $manager
    ) {
        parent::__construct($context);
        $this->filter = $filter;
        $this->collectionFactory = $collectionFactory;
        $this->fileFactory = $fileFactory;
        $this->pdf = $pdf;
        $this->labelRepository = $labelRepository;
        $this->resultRawFactory = $resultRawFactory;
        $this->layoutFactory = $layoutFactory;
        $this->thermal = $thermal;
        $this->file = $file;
        $this->url = $url;
        $this->manager = $manager;
    }
}

Spamworldpro Mini