App\Models\Store\OrderItem::subtotal PHP Метод

subtotal() публичный Метод

public subtotal ( )
    public function subtotal()
    {
        return $this->cost * $this->quantity;
    }