osb/app/Models/Product/Domain.php

38 lines
549 B
PHP
Raw Normal View History

2019-07-02 15:28:27 +10:00
<?php
namespace App\Models\Product;
2020-02-19 23:37:45 +11:00
use Illuminate\Support\Collection;
use App\Interfaces\ProductSupplier;
use App\Models\Base\ProductType;
2019-07-02 15:28:27 +10:00
use App\Traits\NextKey;
2020-02-19 23:37:45 +11:00
class Domain extends ProductType implements ProductSupplier
2019-07-02 15:28:27 +10:00
{
use NextKey;
const RECORD_ID = '';
2020-02-19 23:37:45 +11:00
public function allowance(): Collection
{
// N/A
return collect();
}
public function allowance_string(): string
{
// N/A
return '';
}
public function getCostAttribute(): float
{
// N/A
return 0;
}
2020-02-20 22:54:28 +11:00
public function getSupplierAttribute()
{
return '';
}
2019-07-02 15:28:27 +10:00
}