/** * @return float */ public function getTotal() { return $this->pizza->getPrice() * $this->count; }