mirror of
https://github.com/bdnugget/magento2.git
synced 2026-11-07 09:17:35 +00:00
- removed @since 2.0.0 as it is a base release - updated version in @since and @deprecated tag taking into account all patch releases
37 lines
942 B
PHP
37 lines
942 B
PHP
<?php
|
|
/**
|
|
* Copyright © Magento, Inc. All rights reserved.
|
|
* See COPYING.txt for license details.
|
|
*/
|
|
namespace Magento\Newsletter\Controller\Adminhtml;
|
|
|
|
/**
|
|
* Newsletter subscribers controller
|
|
*/
|
|
abstract class Subscriber extends \Magento\Backend\App\Action
|
|
{
|
|
/**
|
|
* Authorization level of a basic admin session
|
|
*
|
|
* @see _isAllowed()
|
|
*/
|
|
const ADMIN_RESOURCE = 'Magento_Newsletter::subscriber';
|
|
|
|
/**
|
|
* @var \Magento\Framework\App\Response\Http\FileFactory
|
|
*/
|
|
protected $_fileFactory;
|
|
|
|
/**
|
|
* @param \Magento\Backend\App\Action\Context $context
|
|
* @param \Magento\Framework\App\Response\Http\FileFactory $fileFactory
|
|
*/
|
|
public function __construct(
|
|
\Magento\Backend\App\Action\Context $context,
|
|
\Magento\Framework\App\Response\Http\FileFactory $fileFactory
|
|
) {
|
|
$this->_fileFactory = $fileFactory;
|
|
parent::__construct($context);
|
|
}
|
|
}
|