Last active
September 20, 2021 09:58
-
-
Save CajuCLC/38b501e640c49d11cdc7fc2ffd51f6be to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Copyright © Magento, Inc. All rights reserved. | |
* See COPYING.txt for license details. | |
*/ | |
namespace Magento\SalesRuleSampleData\Setup; | |
use Magento\Framework\Setup; | |
class Installer implements Setup\SampleData\InstallerInterface | |
{ | |
/** | |
* @var \Magento\SalesRuleSampleData\Model\Rule | |
*/ | |
protected $rule; | |
/** | |
* @param \Magento\SalesRuleSampleData\Model\Rule $rule | |
*/ | |
public function __construct(\Magento\SalesRuleSampleData\Model\Rule $rule) | |
{ | |
$this->rule = $rule; | |
} | |
/** | |
* @inheritdoc | |
*/ | |
public function install() | |
{ | |
//$this->rule->install(['Magento_SalesRuleSampleData::fixtures/sales_rules.csv']); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment