Pizza
in package
implements
Product
Uses
SharedTrait
Interfaces, Classes and Traits
Table of Contents
- TYPE_ITALIAN = 'italian'
- TYPE_AMERICAN = 'american'
- Not a real pizza.
- TYPE_HYBRID = ['italian,spanish', 1, 'american']
- $base : Base
- $description : string
- $name : string
- Name of your own custom Pizza.
- $extra : ArrayObject
- I don't know what this does; can we delete this?
- $sharedProperty : string
- $alwaysTrue : bool
- $property1 : float
- $property2 : float
- $property3 : float
- $secretIngredient : mixed
- The best part of a Pizza is its secret ingredient.
- $secretProperty : bool
- eatIt() : void
- Om nom nom.
- getName() : string
- Returns the name to be displayed on the product listing.
- sayHello() : Base
Constants
TYPE_ITALIAN
public
mixed
TYPE_ITALIAN
= 'italian'
TYPE_AMERICAN
Not a real pizza.
protected
string
TYPE_AMERICAN
= 'american'
Does not need much more of an explanation, does it? ;)
Tags
TYPE_HYBRID
private
mixed
TYPE_HYBRID
= ['italian,spanish', 1, 'american']
Properties
$base
public
Base
$base
$description
public
static string
$description
= ''
$name
Name of your own custom Pizza.
public
string
$name
= ''
Want to show to your friends how cool your pizza baking skills are? Now you can! Name your Pizza anything you want and stun them with your awesome creativity!
$extra
I don't know what this does; can we delete this?
protected
ArrayObject
$extra
Tags
$sharedProperty
protected
string
$sharedProperty
$alwaysTrue
private
bool
$alwaysTrue
= true
$property1
private
float
$property1
$property2
private
float
$property2
$property3
private
float
$property3
$secretIngredient
The best part of a Pizza is its secret ingredient.
private
mixed
$secretIngredient
Even the type of this is secret!
$secretProperty
private
bool
$secretProperty
Methods
eatIt()
Om nom nom.
public
eatIt() : void
What else do you do with a pizza? Put it in your freezer?
Return values
void —getName()
Returns the name to be displayed on the product listing.
public
getName() : string
Return values
string —the name of this product.
sayHello()
public
sayHello() : Base