Total Complexity | 3 |
Total Lines | 18 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | final class PriceNameResolver implements PriceNameResolverInterface |
||
14 | { |
||
15 | /** @var string */ |
||
16 | private $pricePropertyPrefix; |
||
17 | |||
18 | public function __construct(string $pricePropertyPrefix) |
||
19 | { |
||
20 | $this->pricePropertyPrefix = $pricePropertyPrefix; |
||
21 | } |
||
22 | |||
23 | public function resolveMinPriceName(): string |
||
24 | { |
||
25 | return 'min_' . $this->pricePropertyPrefix; |
||
26 | } |
||
27 | |||
28 | public function resolveMaxPriceName(): string |
||
31 | } |
||
32 | } |
||
33 |