I'm new to defining classes so I hope this isn't a trivial question.
I want to end up with a collection of data in an object that I access through parameters such as:
AllData->A->Discount->Amount AllData->A->Discount->Percentage AllData->A->Claimed->Amount AllData->A->Claimed->Percentage I started with
class AllData { public $Discount; public $Claimed; } How do I defined the next levels (A, A->Amount, A->Percentage, etc.) of the object class?