| Total Complexity | 3 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 29 | final class DonationAmountFromAttributePass implements CompilerPassInterface |
||
| 30 | { |
||
| 31 | /** @var string */ |
||
| 32 | private $attributeName; |
||
| 33 | |||
| 34 | /** @var MoneyParser */ |
||
| 35 | private $moneyParser; |
||
| 36 | |||
| 37 | public function __construct(string $attributeName, MoneyParser $moneyParser) |
||
| 38 | { |
||
| 39 | $this->attributeName = $attributeName; |
||
| 40 | $this->moneyParser = $moneyParser; |
||
| 41 | } |
||
| 42 | |||
| 43 | public function processMandate(XmlMandate $xmlMandate): XmlMandate |
||
| 53 | } |
||
| 54 | } |
||
| 55 |