belongsTo('PaymentLibrary', 'payment_library_id'); } public function getLogoUrl() { return '/images/gateways/logo_'.$this->provider.'.png'; } }