PizzaComponentFactory
in package
implements
Traversable, Valued
Interfaces, Classes and Traits
- Traversable
- Valued
- Any class implementing this interface has an associated price.
Table of Contents
- add() : mixed
- calculatePrice() : float
- Calculates the price for this specific component.
Methods
add()
public
add() : mixed
Return values
mixed —calculatePrice()
Calculates the price for this specific component.
protected
abstract calculatePrice() : float