age >= 7 ? mt_rand(1, 4) : 1) ]; } public function getPickedItem() : Item{ return ItemFactory::get(Item::CARROT); } }