| Total Complexity | 4 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | class QuoteStorageStrategyProvider implements QuoteStorageStrategyProviderInterface |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @param \Spryker\Client\Quote\QuoteClientInterface $quoteClient |
||
| 17 | * @param array<\SprykerFeature\Client\SelfServicePortal\Asset\Quote\QuoteStorageStrategyInterface> $quoteStorageStrategies |
||
| 18 | */ |
||
| 19 | public function __construct( |
||
| 20 | protected QuoteClientInterface $quoteClient, |
||
| 21 | protected array $quoteStorageStrategies |
||
| 22 | ) { |
||
| 23 | } |
||
| 24 | |||
| 25 | public function provideStorage(): QuoteStorageStrategyInterface |
||
| 38 | ), |
||
| 39 | ); |
||
| 42 |