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