| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 38 | public function __construct(Donor $donor, Money $amount, \DateTimeImmutable $date) |
||
| 39 | { |
||
| 40 | parent::__construct( |
||
| 41 | sprintf( |
||
| 42 | '%s from %s on %s', |
||
| 43 | new ClassIdExtractor($this), |
||
| 44 | $donor->getMandateKey(), |
||
| 45 | $date->format('Y-m-d') |
||
| 46 | ), |
||
| 47 | $donor, |
||
| 48 | LogLevel::INFO |
||
| 49 | ); |
||
| 50 | |||
| 51 | $this->amount = $amount; |
||
| 52 | $this->date = $date; |
||
| 53 | } |
||
| 65 |