weight = $weight; } abstract public function getKey(); abstract public function getPrice(); public function getWeight() { return $this->weight; } }