More Product Model optimisation
This commit is contained in:
@@ -50,17 +50,6 @@ final class Phone extends Type implements ProductItem
|
||||
|
||||
/* INTERFACES */
|
||||
|
||||
public function getContractTermAttribute(): int
|
||||
{
|
||||
// @todo Get this from the DB
|
||||
return 12;
|
||||
}
|
||||
|
||||
public function hasUsage(): bool
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
public function allowance(): Collection
|
||||
{
|
||||
// TODO: Implement allowance() method.
|
||||
@@ -71,13 +60,8 @@ final class Phone extends Type implements ProductItem
|
||||
return "(TBA)";
|
||||
}
|
||||
|
||||
public function getCostAttribute(): float
|
||||
public function hasUsage(): bool
|
||||
{
|
||||
// TODO: Implement getCostAttribute() method.
|
||||
}
|
||||
|
||||
public function getSupplierAttribute()
|
||||
{
|
||||
// TODO: Implement getSupplierAttribute() method.
|
||||
return FALSE;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user