I have just started learning OOP and I am looking for some help/advice.
To help learn I am going to create an event booking system. I have the most of this working using standard PHP but since I am learning OOP thought it might be good to convert it.
Ok so to start, I am planning to create the 4 individual classes below:
Events (Event name, date, location)
EventTickets (Ticket type, price & qty)
EventBookings (booking name, email, telephone)
EventPayments (Card type, number and expiry date)
Q1. Should I create 4 classes like above or structure it different?
Q2. How should I set up Inheritance?
Q3. This might answer the above two questions but how would you start this project?
I am looking for any advice on creating this project. I will share my progress as I go along and hopefully help anyone else who is new to OOP.
Thanks in Advance