Using morphTo() on services, added Ezypay payment Import
This commit is contained in:
13
app/Models/Service/Host.php
Normal file
13
app/Models/Service/Host.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models\Service;
|
||||
|
||||
class Host extends \App\Models\Base\ServiceType
|
||||
{
|
||||
protected $table = 'ab_service__hosting';
|
||||
|
||||
public function getNameAttribute()
|
||||
{
|
||||
return sprintf('%s',$this->domain_name);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user