Hello,
What is the best method of implementing below class diagram?
I will appereciate your opinions. Please give small code snippets if possible.
Regards, Mac
As an aggregation, I suppose.
Create an Employee class, then an Company object would have a vector (or rather, a PHP array) of Employee objects.