1 | <?php |
||
21 | final class PaymentDescriptionProvider implements PaymentDescriptionProviderInterface |
||
22 | { |
||
23 | /** |
||
24 | * @var TranslatorInterface |
||
25 | */ |
||
26 | private $translator; |
||
27 | |||
28 | /** |
||
29 | * @param TranslatorInterface $translator |
||
30 | */ |
||
31 | public function __construct(TranslatorInterface $translator) |
||
35 | |||
36 | /** |
||
37 | * {@inheritdoc} |
||
38 | */ |
||
39 | public function getPaymentDescription(PaymentInterface $payment) |
||
53 | } |
||
54 |