DateInterval Class
DateInterval Class is simple if you keep it on paper. Amit uses it for class Student in a small OOP file.
Keep DateInterval Class small. Amit should finish class Student in a few lines, not a 40-line dump.
Skip DateInterval Class and public everything shows up in a small OOP file.
Amit ships DateInterval Class in a small OOP file. That is the use case worth saying.
DateInterval Class trap — public everything. Amit loses marks for that every viva.
Place DateInterval Class next to nearby PHP work — new Student('Asha', 72) is the link.
Close DateInterval Class with — “If I skip it, class Student goes wrong like this: public everything.”
For DateInterval Class: definition + a small OOP file + one failure.