CheeseTopping
in package
implements
Topping
Uses
HasPrice
Interfaces, Classes and Traits
- Topping
- Any class implementing this interface has an associated price.
Table of Contents
- $price : mixed
- $temporaryPrice : mixed
- getPrice() : mixed
- serialize() : mixed
- unserialize() : mixed
Properties
$price
private
mixed
$price
= 1.5
$temporaryPrice
private
mixed
$temporaryPrice
= 1
Methods
getPrice()
public
getPrice() : mixed
Return values
mixed —serialize()
public
serialize() : mixed
Return values
mixed —unserialize()
public
unserialize(mixed $serialized) : mixed
Parameters
- $serialized : mixed