30 lines
586 B
PHP
30 lines
586 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
namespace Esun\CustomerVat\Setup\Patch\Data;
|
|
|
|
use Magento\Framework\Setup\Patch\DataPatchInterface;
|
|
|
|
class ReconfigureTaxRulesV2 implements DataPatchInterface
|
|
{
|
|
public function __construct(private readonly ConfigureTaxRules $configureTaxRules)
|
|
{
|
|
}
|
|
|
|
public function apply(): self
|
|
{
|
|
$this->configureTaxRules->apply();
|
|
return $this;
|
|
}
|
|
|
|
public static function getDependencies(): array
|
|
{
|
|
return [ConfigureTaxRules::class];
|
|
}
|
|
|
|
public function getAliases(): array
|
|
{
|
|
return [];
|
|
}
|
|
}
|