hasOne(SupplierSSL::class,'id','supplier_item_id'); } /* INTERFACES */ public function allowance(): Collection { // N/A return collect(); } public function allowance_string(): string { // N/A return ''; } public function getContractTermAttribute(): int { return 12; } public function getCostAttribute(): float { // N/A return 0; } public function getSupplierAttribute() { abort(500,'deprecated'); $o = new \stdClass(); $o->name = 'Internal'; return $o; } public function hasUsage(): bool { return FALSE; } }