| Total Complexity | 5 |
| Total Lines | 45 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 18 | class DataAssignBoletoObserver extends AbstractDataAssignObserver |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * @const string |
||
| 22 | */ |
||
| 23 | public const PAYER_FULLNAME = 'boleto_payer_fullname'; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @const string |
||
| 27 | */ |
||
| 28 | public const PAYER_TAX_DOCUMENT = 'boleto_payer_tax_document'; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @var array |
||
| 32 | */ |
||
| 33 | protected $addInformationList = [ |
||
| 34 | self::PAYER_FULLNAME, |
||
| 35 | self::PAYER_TAX_DOCUMENT, |
||
| 36 | ]; |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Execute. |
||
| 40 | * |
||
| 41 | * @param Observer $observer |
||
| 42 | * |
||
| 43 | * @return void |
||
| 44 | */ |
||
| 45 | public function execute(Observer $observer) |
||
| 69 |