Valued
in
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
BASE_PRICE
public
mixed
BASE_PRICE
= 1
Methods
getPrice()
public
getPrice() : mixed