| Total Complexity | 4 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 13 | trait IsPurchasableRepositoryTrait |
||
| 14 | { |
||
| 15 | use HasCustomerRepository; |
||
| 16 | |||
| 17 | public function initRelations() |
||
| 21 | } |
||
| 22 | |||
| 23 | protected function initRelationsPayments() |
||
| 24 | { |
||
| 25 | $this->initRelationsCustomer(); |
||
| 26 | $this->initRelationsPaymentMethod(); |
||
| 27 | $this->initRelationsSessions(); |
||
| 28 | } |
||
| 29 | |||
| 30 | protected function initRelationsPaymentMethod() |
||
| 31 | { |
||
| 32 | $this->belongsTo('PaymentMethod'); |
||
|
|
|||
| 33 | } |
||
| 34 | |||
| 35 | protected function initRelationsSessions() |
||
| 38 | } |
||
| 39 | } |
||
| 40 |