-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'nonsplit/master' into test
- Loading branch information
Showing
3 changed files
with
156 additions
and
10 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
30 changes: 30 additions & 0 deletions
30
...ipSalesOrderThresholdGui/MerchantRelationshipSalesOrderThresholdGuiDependencyProvider.php
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?php | ||
|
||
/** | ||
* This file is part of the Spryker Suite. | ||
* For full license information, please view the LICENSE file that was distributed with this source code. | ||
*/ | ||
|
||
namespace Pyz\Zed\MerchantRelationshipSalesOrderThresholdGui; | ||
|
||
use Spryker\Zed\MerchantRelationshipSalesOrderThresholdGui\Communication\Plugin\FormExpander\MerchantRelationshipHardThresholdFormExpanderPlugin; | ||
use Spryker\Zed\MerchantRelationshipSalesOrderThresholdGui\Communication\Plugin\FormExpander\MerchantRelationshipSoftThresholdFixedFeeFormExpanderPlugin; | ||
use Spryker\Zed\MerchantRelationshipSalesOrderThresholdGui\Communication\Plugin\FormExpander\MerchantRelationshipSoftThresholdFlexibleFeeFormExpanderPlugin; | ||
use Spryker\Zed\MerchantRelationshipSalesOrderThresholdGui\Communication\Plugin\FormExpander\MerchantRelationshipSoftThresholdWithMessageFormExpanderPlugin; | ||
use Spryker\Zed\MerchantRelationshipSalesOrderThresholdGui\MerchantRelationshipSalesOrderThresholdGuiDependencyProvider as SprykerMerchantRelationshipSalesOrderThresholdGuiDependencyProvider; | ||
|
||
class MerchantRelationshipSalesOrderThresholdGuiDependencyProvider extends SprykerMerchantRelationshipSalesOrderThresholdGuiDependencyProvider | ||
{ | ||
/** | ||
* @return \Spryker\Zed\MerchantRelationshipSalesOrderThresholdGuiExtension\Dependency\Plugin\SalesOrderThresholdFormExpanderPluginInterface[] | ||
*/ | ||
protected function getSalesOrderThresholdFormExpanderPlugins(): array | ||
{ | ||
return [ | ||
new MerchantRelationshipHardThresholdFormExpanderPlugin(), | ||
new MerchantRelationshipSoftThresholdWithMessageFormExpanderPlugin(), | ||
new MerchantRelationshipSoftThresholdFixedFeeFormExpanderPlugin(), | ||
new MerchantRelationshipSoftThresholdFlexibleFeeFormExpanderPlugin(), | ||
]; | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
src/Pyz/Zed/SalesOrderThresholdGui/SalesOrderThresholdGuiDependencyProvider.php
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?php | ||
|
||
/** | ||
* This file is part of the Spryker Suite. | ||
* For full license information, please view the LICENSE file that was distributed with this source code. | ||
*/ | ||
|
||
namespace Pyz\Zed\SalesOrderThresholdGui; | ||
|
||
use Spryker\Zed\SalesOrderThresholdGui\Communication\Plugin\FormExpander\GlobalHardThresholdFormExpanderPlugin; | ||
use Spryker\Zed\SalesOrderThresholdGui\Communication\Plugin\FormExpander\GlobalSoftThresholdFixedFeeFormExpanderPlugin; | ||
use Spryker\Zed\SalesOrderThresholdGui\Communication\Plugin\FormExpander\GlobalSoftThresholdFlexibleFeeFormExpanderPlugin; | ||
use Spryker\Zed\SalesOrderThresholdGui\Communication\Plugin\FormExpander\GlobalSoftThresholdWithMessageFormExpanderPlugin; | ||
use Spryker\Zed\SalesOrderThresholdGui\SalesOrderThresholdGuiDependencyProvider as SprykerSalesOrderThresholdGuiDependencyProvider; | ||
|
||
class SalesOrderThresholdGuiDependencyProvider extends SprykerSalesOrderThresholdGuiDependencyProvider | ||
{ | ||
/** | ||
* @return \Spryker\Zed\SalesOrderThresholdGuiExtension\Dependency\Plugin\SalesOrderThresholdFormExpanderPluginInterface[] | ||
*/ | ||
protected function getSalesOrderThresholdFormExpanderPlugins(): array | ||
{ | ||
return [ | ||
new GlobalHardThresholdFormExpanderPlugin(), | ||
new GlobalSoftThresholdWithMessageFormExpanderPlugin(), | ||
new GlobalSoftThresholdFixedFeeFormExpanderPlugin(), | ||
new GlobalSoftThresholdFlexibleFeeFormExpanderPlugin(), | ||
]; | ||
} | ||
} |