| 1 | <?php |
||
| 13 | class Payment extends Model |
||
| 14 | { |
||
| 15 | protected $guarded = []; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * The event map for the model. |
||
| 19 | * |
||
| 20 | * @var array |
||
| 21 | */ |
||
| 22 | protected $events = [ |
||
| 23 | 'updated' => PaymentUpdated::class, |
||
| 24 | 'created' => PaymentOpened::class, |
||
| 25 | ]; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Get all of the owning payable models. |
||
| 29 | */ |
||
| 30 | public function payable() |
||
| 34 | } |
||
| 35 |