Total Complexity | 1 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
29 | trait TokenTrait |
||
30 | { |
||
31 | use HasPurchaseParent; |
||
32 | use HasCustomerRecord; |
||
33 | use HasGatewayRecordTrait; |
||
34 | use HasPaymentMethodRecordTrait; |
||
35 | use TimestampableTrait; |
||
36 | |||
37 | /** |
||
38 | * @var string |
||
39 | */ |
||
40 | static protected $createTimestamps = ['created']; |
||
41 | |||
42 | /** |
||
43 | * @var string |
||
44 | */ |
||
45 | static protected $updateTimestamps = ['modified']; |
||
46 | |||
47 | /** |
||
48 | * @param TokenInterface $token |
||
49 | */ |
||
50 | public function populateFromToken(TokenInterface $token) |
||
56 |