ltsecurityinc安防产品在线商城代码
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
/**
|
||||
* @author Amasty Team
|
||||
* @copyright Copyright (c) Amasty (https://www.amasty.com)
|
||||
* @package Admin Actions Log for Magento 2
|
||||
*/
|
||||
|
||||
namespace Amasty\AdminActionsLog\Ui\DataProvider\ActiveSession;
|
||||
|
||||
use Amasty\AdminActionsLog\Model\ActiveSession\ResourceModel\CollectionFactory;
|
||||
use Magento\Ui\DataProvider\AbstractDataProvider;
|
||||
|
||||
class Listing extends AbstractDataProvider
|
||||
{
|
||||
public function __construct(
|
||||
CollectionFactory $collectionFactory,
|
||||
$name,
|
||||
$primaryFieldName,
|
||||
$requestFieldName,
|
||||
array $meta = [],
|
||||
array $data = []
|
||||
) {
|
||||
parent::__construct($name, $primaryFieldName, $requestFieldName, $meta, $data);
|
||||
$this->collection = $collectionFactory->create();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user