2014-03-21 13:16:37 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
class PaymentLibrary extends Eloquent
|
|
|
|
{
|
|
|
|
protected $table = 'payment_libraries';
|
|
|
|
|
|
|
|
public function gateways()
|
|
|
|
{
|
2014-03-26 01:59:33 +01:00
|
|
|
return $this->hasMany('Gateway', 'payment_library_id');
|
2014-03-21 13:16:37 +01:00
|
|
|
}
|
|
|
|
}
|