Documentation

Topping extends Valued, Serializable

Any class implementing this interface has an associated price.

Using this interface we can easily add the price of all components in a pizza by checking for this interface and adding the prices together for all components.

Table of Contents

BASE_PRICE  = 1
getPrice()  : mixed

Constants

Methods

getPrice()

public getPrice() : mixed
Return values
mixed

Search results